GET api/Roles/Account?accountID={accountID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UserRoleDTO
NameDescriptionTypeAdditional 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
  },
  {
    "ID": 1,
    "AccountID": 2,
    "Name": "sample string 3",
    "Master": true,
    "Admin": true,
    "RegionalManager": true,
    "Supervisor": true,
    "OpsManager": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <UserRoleDTO>
    <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>
  <UserRoleDTO>
    <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>
</ArrayOfUserRoleDTO>