POST api/securityuser/saveSysUser
Request Information
URI Parameters
None.
Body Parameters
EntSysUserName | Description | Type | Additional information |
---|---|---|---|
RoleId | string |
None. |
|
ApplicationName | string |
None. |
|
SubId | string |
None. |
|
ListRole | Collection of EntSysUserInRole |
None. |
|
NewPWD | string |
None. |
|
Roles | Collection of EntSysRole |
None. |
|
HightRoleType | string |
None. |
|
HightRoleId | string |
None. |
|
UserId | integer |
None. |
|
OrganizationCode | string |
None. |
|
LoginName | string |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
|
Status | string |
None. |
|
Telephone | string |
None. |
|
Phone | string |
None. |
|
Address | string |
None. |
|
string |
None. |
||
DeptCode | string |
None. |
|
CreateBy | string |
None. |
|
CreateTime | date |
None. |
|
Descr | string |
None. |
|
Usd1 | string |
None. |
|
Usd2 | string |
None. |
|
AllDataPermission | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "roleId": "sample string 1", "applicationName": "sample string 2", "subId": "sample string 3", "listRole": [ { "id": 1, "userId": 2, "roleId": "sample string 3", "status": "sample string 4", "descr": "sample string 5", "usd1": "sample string 6", "usd2": "sample string 7", "usd3": "sample string 8", "createTime": "2024-11-21 16:54:33", "createBy": "sample string 9", "pageSize": 10, "pageIndex": 11, "totalCount": 12 }, { "id": 1, "userId": 2, "roleId": "sample string 3", "status": "sample string 4", "descr": "sample string 5", "usd1": "sample string 6", "usd2": "sample string 7", "usd3": "sample string 8", "createTime": "2024-11-21 16:54:33", "createBy": "sample string 9", "pageSize": 10, "pageIndex": 11, "totalCount": 12 } ], "newPWD": "sample string 4", "roles": [ { "id": 1, "roleId": "sample string 2", "roleNameCn": "sample string 3", "status": "sample string 4", "createBy": "sample string 5", "createTime": "2024-11-21 16:54:33", "descr": "sample string 6", "usd1": "sample string 7", "roleNameEn": "sample string 8", "organizationCode": "sample string 9", "roleType": "sample string 10", "pageSize": 11, "pageIndex": 12, "totalCount": 13 }, { "id": 1, "roleId": "sample string 2", "roleNameCn": "sample string 3", "status": "sample string 4", "createBy": "sample string 5", "createTime": "2024-11-21 16:54:33", "descr": "sample string 6", "usd1": "sample string 7", "roleNameEn": "sample string 8", "organizationCode": "sample string 9", "roleType": "sample string 10", "pageSize": 11, "pageIndex": 12, "totalCount": 13 } ], "hightRoleType": "sample string 5", "hightRoleId": "sample string 6", "userId": 7, "organizationCode": "sample string 8", "loginName": "sample string 9", "userName": "sample string 10", "password": "sample string 11", "status": "sample string 12", "telephone": "sample string 13", "phone": "sample string 14", "address": "sample string 15", "email": "sample string 16", "deptCode": "sample string 17", "createBy": "sample string 18", "createTime": "2024-11-21 16:54:33", "descr": "sample string 19", "usd1": "sample string 20", "usd2": "sample string 21", "allDataPermission": "sample string 22", "pageSize": 23, "pageIndex": 24, "totalCount": 25 }
application/xml, text/xml
Sample:
<EntSysUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>24</PageIndex> <PageSize>23</PageSize> <TotalCount>25</TotalCount> <Address>sample string 15</Address> <AllDataPermission>sample string 22</AllDataPermission> <ApplicationName>sample string 2</ApplicationName> <CreateBy>sample string 18</CreateBy> <CreateTime>2024-11-21T16:54:33.3623127+08:00</CreateTime> <DeptCode>sample string 17</DeptCode> <Descr>sample string 19</Descr> <Email>sample string 16</Email> <HightRoleId>sample string 6</HightRoleId> <HightRoleType>sample string 5</HightRoleType> <ListRole> <EntSysUserInRole> <PageIndex>11</PageIndex> <PageSize>10</PageSize> <TotalCount>12</TotalCount> <CreateBy>sample string 9</CreateBy> <CreateTime>2024-11-21T16:54:33.3623127+08:00</CreateTime> <Descr>sample string 5</Descr> <Id>1</Id> <RoleId>sample string 3</RoleId> <Status>sample string 4</Status> <Usd1>sample string 6</Usd1> <Usd2>sample string 7</Usd2> <Usd3>sample string 8</Usd3> <UserId>2</UserId> </EntSysUserInRole> <EntSysUserInRole> <PageIndex>11</PageIndex> <PageSize>10</PageSize> <TotalCount>12</TotalCount> <CreateBy>sample string 9</CreateBy> <CreateTime>2024-11-21T16:54:33.3623127+08:00</CreateTime> <Descr>sample string 5</Descr> <Id>1</Id> <RoleId>sample string 3</RoleId> <Status>sample string 4</Status> <Usd1>sample string 6</Usd1> <Usd2>sample string 7</Usd2> <Usd3>sample string 8</Usd3> <UserId>2</UserId> </EntSysUserInRole> </ListRole> <LoginName>sample string 9</LoginName> <NewPWD>sample string 4</NewPWD> <OrganizationCode>sample string 8</OrganizationCode> <Password>sample string 11</Password> <Phone>sample string 14</Phone> <RoleId>sample string 1</RoleId> <Roles> <EntSysRole> <PageIndex>12</PageIndex> <PageSize>11</PageSize> <TotalCount>13</TotalCount> <CreateBy>sample string 5</CreateBy> <CreateTime>2024-11-21T16:54:33.3623127+08:00</CreateTime> <Descr>sample string 6</Descr> <Id>1</Id> <OrganizationCode>sample string 9</OrganizationCode> <RoleId>sample string 2</RoleId> <RoleNameCn>sample string 3</RoleNameCn> <RoleNameEn>sample string 8</RoleNameEn> <RoleType>sample string 10</RoleType> <Status>sample string 4</Status> <Usd1>sample string 7</Usd1> </EntSysRole> <EntSysRole> <PageIndex>12</PageIndex> <PageSize>11</PageSize> <TotalCount>13</TotalCount> <CreateBy>sample string 5</CreateBy> <CreateTime>2024-11-21T16:54:33.3623127+08:00</CreateTime> <Descr>sample string 6</Descr> <Id>1</Id> <OrganizationCode>sample string 9</OrganizationCode> <RoleId>sample string 2</RoleId> <RoleNameCn>sample string 3</RoleNameCn> <RoleNameEn>sample string 8</RoleNameEn> <RoleType>sample string 10</RoleType> <Status>sample string 4</Status> <Usd1>sample string 7</Usd1> </EntSysRole> </Roles> <Status>sample string 12</Status> <SubId>sample string 3</SubId> <Telephone>sample string 13</Telephone> <Usd1>sample string 20</Usd1> <Usd2>sample string 21</Usd2> <UserId>7</UserId> <UserName>sample string 10</UserName> </EntSysUser>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Success | boolean |
None. |
|
Data | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "success": true, "data": 3, "message": "sample string 4" }
application/xml, text/xml
Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <Data>3</Data> <Message>sample string 4</Message> <Status>1</Status> <Success>true</Success> </ReturnResultOfint>