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": "6d150135-316f-4e1d-80fc-69845eed2cb1",
"Username": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"RoleId": 50,
"AccountIds": [
"48400358-fed9-495a-aabe-b8ed49165a77",
"36927381-6f15-4953-92d7-47773250cf9c"
]
}
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>48400358-fed9-495a-aabe-b8ed49165a77</d2p1:guid>
<d2p1:guid>36927381-6f15-4953-92d7-47773250cf9c</d2p1:guid>
</AccountIds>
<Email>sample string 5</Email>
<FirstName>sample string 3</FirstName>
<Id>6d150135-316f-4e1d-80fc-69845eed2cb1</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>