POST api/dept/SubmitDept
新增或修改提交部门信息
Request Information
URI Parameters
None.
Body Parameters
请求视图
PermissionGroupSaveParams| Name | Description | Type | Additional information |
|---|---|---|---|
| IDX |
主键IDX |
integer |
None. |
| CompanyID |
公司IDX |
integer |
None. |
| GroupName |
部门名称 |
string |
None. |
| GroupDesc |
部门描述 |
string |
None. |
| SimsSectionID |
本地部门编号 |
string |
None. |
| ParentID |
父菜单的ID |
integer |
None. |
| DepartmentLeadersID |
部门领导id |
integer |
None. |
| ChargeLeaderID |
分管领导id |
integer |
None. |
| UserID |
用户ID |
integer |
None. |
| AllowAt |
允许被@ |
integer |
None. |
| IsDefault |
默认通知 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IDX": 1,
"CompanyID": 2,
"GroupName": "sample string 3",
"GroupDesc": "sample string 4",
"SimsSectionID": "sample string 5",
"ParentID": 6,
"DepartmentLeadersID": 7,
"ChargeLeaderID": 8,
"UserID": 9,
"AllowAt": 10,
"IsDefault": 11
}
application/xml, text/xml
Sample:
<PermissionGroupSaveParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JJR.SAAS.Models"> <AllowAt>10</AllowAt> <ChargeLeaderID>8</ChargeLeaderID> <CompanyID>2</CompanyID> <DepartmentLeadersID>7</DepartmentLeadersID> <GroupDesc>sample string 4</GroupDesc> <GroupName>sample string 3</GroupName> <IDX>1</IDX> <IsDefault>11</IsDefault> <ParentID>6</ParentID> <SimsSectionID>sample string 5</SimsSectionID> <UserID>9</UserID> </PermissionGroupSaveParams>
Response Information
Resource Description
新增或修改提交部门信息
ApiRet| Name | Description | Type | Additional information |
|---|---|---|---|
| RetCode |
状态码 |
string |
None. |
| RetMsg |
状态描述 |
string |
None. |
| Message |
数据实体 |
Object |
None. |
| Total |
查询结果所有页的总条数 |
integer |
None. |
| TotalPage |
总页数 |
integer |
None. |
| Redirect |
需重定向的地址 |
string |
None. |
| FieldStr |
列表字段管理 |
Object |
None. |
| CurrentTime |
当前时间 |
date |
None. |
| IDX |
主键 |
integer |
None. |
| DelFlag |
删除标识 0未删除 1:已删除 |
integer |
None. |
| PageIndex |
列表请求参数 |
integer |
None. |
| PageSize |
列表请求参数 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"RetCode": "sample string 1",
"RetMsg": "sample string 2",
"Message": {},
"Total": 4,
"TotalPage": 5,
"Redirect": "sample string 6",
"FieldStr": {},
"CurrentTime": "2026-04-05 22:39:11",
"IDX": 9,
"DelFlag": 10,
"PageIndex": 11,
"PageSize": 12
}
application/xml, text/xml
Sample:
<ApiRet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.Common"> <_x003C_DelFlag_x003E_k__BackingField>10</_x003C_DelFlag_x003E_k__BackingField> <_x003C_IDX_x003E_k__BackingField>9</_x003C_IDX_x003E_k__BackingField> <_x003C_PageIndex_x003E_k__BackingField>11</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>12</_x003C_PageSize_x003E_k__BackingField> <CurrentTime>2026-04-05T22:39:11.1834779+08:00</CurrentTime> <FieldStr /> <Message /> <Redirect>sample string 6</Redirect> <RetCode>sample string 1</RetCode> <RetMsg>sample string 2</RetMsg> <Total>4</Total> <TotalPage>5</TotalPage> </ApiRet>