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": "76dc3cfe-b73f-4d00-afc9-816103fb584c",
"Username": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"RoleId": 50,
"AccountIds": [
"e1c58dc6-9421-44a5-9618-7ea25e4a9da1",
"f2824d84-58af-4430-8b46-9c80e97c9a86"
]
}
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>e1c58dc6-9421-44a5-9618-7ea25e4a9da1</d2p1:guid>
<d2p1:guid>f2824d84-58af-4430-8b46-9c80e97c9a86</d2p1:guid>
</AccountIds>
<Email>sample string 5</Email>
<FirstName>sample string 3</FirstName>
<Id>76dc3cfe-b73f-4d00-afc9-816103fb584c</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>