GET api/Roles?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserRoleDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
AccountID | integer |
None. |
|
Name | string |
None. |
|
Master | boolean |
None. |
|
Admin | boolean |
None. |
|
RegionalManager | boolean |
None. |
|
Supervisor | boolean |
None. |
|
OpsManager | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "AccountID": 2, "Name": "sample string 3", "Master": true, "Admin": true, "RegionalManager": true, "Supervisor": true, "OpsManager": true }
application/xml, text/xml
Sample:
<UserRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <AccountID>2</AccountID> <Admin>true</Admin> <ID>1</ID> <Master>true</Master> <Name>sample string 3</Name> <OpsManager>true</OpsManager> <RegionalManager>true</RegionalManager> <Supervisor>true</Supervisor> </UserRoleDTO>