GET api/Users/GetRole

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Roles
NameDescriptionTypeAdditional information
RoleId

integer

None.

RoleName

string

None.

RoleLevel

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "RoleId": 1,
    "RoleName": "sample string 2",
    "RoleLevel": 3
  },
  {
    "RoleId": 1,
    "RoleName": "sample string 2",
    "RoleLevel": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfRoles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
  <Roles>
    <RoleId>1</RoleId>
    <RoleLevel>3</RoleLevel>
    <RoleName>sample string 2</RoleName>
  </Roles>
  <Roles>
    <RoleId>1</RoleId>
    <RoleLevel>3</RoleLevel>
    <RoleName>sample string 2</RoleName>
  </Roles>
</ArrayOfRoles>