POST api/systemUsers/update
Create new System User.
Request Information
URI Parameters
None.
Body Parameters
UpdateSystemUserRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Username | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| RoleId | SystemUserType |
None. |
|
| AccountIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "83581a98-018a-4c26-9499-f725b383cda2",
"Username": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"RoleId": 50,
"AccountIds": [
"f2cb9d6b-66ad-4c14-bcc8-5e807b2ea7cb",
"aa1b85a1-cf7a-436b-86e0-8c1eb9d9252f"
]
}
application/xml, text/xml
Sample:
<UpdateSystemUserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests">
<AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f2cb9d6b-66ad-4c14-bcc8-5e807b2ea7cb</d2p1:guid>
<d2p1:guid>aa1b85a1-cf7a-436b-86e0-8c1eb9d9252f</d2p1:guid>
</AccountIds>
<Email>sample string 5</Email>
<FirstName>sample string 3</FirstName>
<Id>83581a98-018a-4c26-9499-f725b383cda2</Id>
<LastName>sample string 4</LastName>
<RoleId>Admin</RoleId>
<Username>sample string 2</Username>
</UpdateSystemUserRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Error |
None. |
|
| IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
},
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
}
],
"IsValid": false
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Errors>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
</Errors>
</ApiResponse>