GET api/userrolemapconfig/all
Returns all User Role Mappings in specific Account context
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiCollectionResponseOfIEnumerableOfGetUserRoleMapConfigResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | Collection of GetUserRoleMapConfigResponse |
None. |
|
| Filters | Dictionary of string [key] and FilterValue [value] |
None. |
|
| SortFields | Dictionary of string [key] and OrderType [value] |
None. |
|
| AvailablePageSizes | Collection of integer |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| Total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": [
{
"Id": "e3e5060f-fba4-4f41-a3ce-dc70982147eb",
"UserRoleId": "4615dd14-55cc-43b2-89ba-0f192e16c271",
"UserRole": {
"Id": "f20123f7-880d-4739-84ea-ec27d2c8fc1d",
"Name": "sample string 2",
"Description": "sample string 3",
"UserRoleType": 4,
"DisplayName": "sample string 5"
},
"ImportSourceType": 3,
"SourceUserRoleId": 4,
"SourceUserRoleName": "sample string 5"
},
{
"Id": "e3e5060f-fba4-4f41-a3ce-dc70982147eb",
"UserRoleId": "4615dd14-55cc-43b2-89ba-0f192e16c271",
"UserRole": {
"Id": "f20123f7-880d-4739-84ea-ec27d2c8fc1d",
"Name": "sample string 2",
"Description": "sample string 3",
"UserRoleType": 4,
"DisplayName": "sample string 5"
},
"ImportSourceType": 3,
"SourceUserRoleId": 4,
"SourceUserRoleName": "sample string 5"
}
],
"Filters": {
"sample string 1": {
"Value": "sample string 1",
"FilterType": 0
},
"sample string 2": {
"Value": "sample string 1",
"FilterType": 0
}
},
"SortFields": {
"sample string 1": 0,
"sample string 2": 0
},
"AvailablePageSizes": [
10,
50,
100
],
"PageSize": 2,
"PageIndex": 3,
"Total": 4
}
application/xml, text/xml
Sample:
<ApiCollectionResponseOfArrayOfGetUserRoleMapConfigResponseLgVmlFmJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Api.Common.Response">
<AvailablePageSizes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>10</d2p1:int>
<d2p1:int>50</d2p1:int>
<d2p1:int>100</d2p1:int>
</AvailablePageSizes>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d2p1:GetUserRoleMapConfigResponse>
<d2p1:Id>e3e5060f-fba4-4f41-a3ce-dc70982147eb</d2p1:Id>
<d2p1:ImportSourceType>3</d2p1:ImportSourceType>
<d2p1:SourceUserRoleId>4</d2p1:SourceUserRoleId>
<d2p1:SourceUserRoleName>sample string 5</d2p1:SourceUserRoleName>
<d2p1:UserRole>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:DisplayName>sample string 5</d2p1:DisplayName>
<d2p1:Id>f20123f7-880d-4739-84ea-ec27d2c8fc1d</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:UserRoleType>4</d2p1:UserRoleType>
</d2p1:UserRole>
<d2p1:UserRoleId>4615dd14-55cc-43b2-89ba-0f192e16c271</d2p1:UserRoleId>
</d2p1:GetUserRoleMapConfigResponse>
<d2p1:GetUserRoleMapConfigResponse>
<d2p1:Id>e3e5060f-fba4-4f41-a3ce-dc70982147eb</d2p1:Id>
<d2p1:ImportSourceType>3</d2p1:ImportSourceType>
<d2p1:SourceUserRoleId>4</d2p1:SourceUserRoleId>
<d2p1:SourceUserRoleName>sample string 5</d2p1:SourceUserRoleName>
<d2p1:UserRole>
<d2p1:Description>sample string 3</d2p1:Description>
<d2p1:DisplayName>sample string 5</d2p1:DisplayName>
<d2p1:Id>f20123f7-880d-4739-84ea-ec27d2c8fc1d</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:UserRoleType>4</d2p1:UserRoleType>
</d2p1:UserRole>
<d2p1:UserRoleId>4615dd14-55cc-43b2-89ba-0f192e16c271</d2p1:UserRoleId>
</d2p1:GetUserRoleMapConfigResponse>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<Filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringFilterValueN3g1kdQt>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Api.Common.Request">
<d4p1:FilterType>None</d4p1:FilterType>
<d4p1:Value>sample string 1</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringFilterValueN3g1kdQt>
<d2p1:KeyValueOfstringFilterValueN3g1kdQt>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Api.Common.Request">
<d4p1:FilterType>None</d4p1:FilterType>
<d4p1:Value>sample string 1</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringFilterValueN3g1kdQt>
</Filters>
<IsSuccess>true</IsSuccess>
<PageIndex>3</PageIndex>
<PageSize>2</PageSize>
<SortFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringOrderTypevpR9PHaG>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>None</d2p1:Value>
</d2p1:KeyValueOfstringOrderTypevpR9PHaG>
<d2p1:KeyValueOfstringOrderTypevpR9PHaG>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>None</d2p1:Value>
</d2p1:KeyValueOfstringOrderTypevpR9PHaG>
</SortFields>
<Total>4</Total>
</ApiCollectionResponseOfArrayOfGetUserRoleMapConfigResponseLgVmlFmJ>