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": "c1875783-2b55-4760-bfc9-ea879acfc20c",
"Username": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"RoleId": 50,
"AccountIds": [
"450e3ab5-ef59-4909-8268-f987904e9a09",
"a333efde-4f64-4c0a-b551-e5257dad9326"
]
}
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>450e3ab5-ef59-4909-8268-f987904e9a09</d2p1:guid>
<d2p1:guid>a333efde-4f64-4c0a-b551-e5257dad9326</d2p1:guid>
</AccountIds>
<Email>sample string 5</Email>
<FirstName>sample string 3</FirstName>
<Id>c1875783-2b55-4760-bfc9-ea879acfc20c</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>