POST api/userrolemapconfig
Create new User Role Mapping
Request Information
URI Parameters
None.
Body Parameters
UserRoleMapConfigRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserRoleId | globally unique identifier |
None. |
|
| ImportSourceType | integer |
None. |
|
| SourceUserRoleId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserRoleId": "7e7fdbf2-b6d2-4c4f-8d4a-46b4b16a6df5",
"ImportSourceType": 2,
"SourceUserRoleId": 3
}
application/xml, text/xml
Sample:
<UserRoleMapConfigRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests"> <ImportSourceType>2</ImportSourceType> <SourceUserRoleId>3</SourceUserRoleId> <UserRoleId>7e7fdbf2-b6d2-4c4f-8d4a-46b4b16a6df5</UserRoleId> </UserRoleMapConfigRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Errors | Collection of ValidationFailure |
None. |
Response Formats
application/json, text/json
Sample:
{
"errors": []
}
application/xml, text/xml
Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FluentValidation.Results"> <errors /> </ValidationResult>