GET api/Role

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Role
NameDescriptionTypeAdditional information
RoleId

integer

None.

RoleName

string

None.

enabled

boolean

None.

id

integer

None.

name

string

None.

displayName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RoleId": 1,
    "RoleName": "sample string 2",
    "enabled": true,
    "id": 4,
    "name": "sample string 5",
    "displayName": "sample string 6"
  },
  {
    "RoleId": 1,
    "RoleName": "sample string 2",
    "enabled": true,
    "id": 4,
    "name": "sample string 5",
    "displayName": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models.BackOffice">
  <Role>
    <displayName xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">sample string 6</displayName>
    <enabled xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">true</enabled>
    <id xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">4</id>
    <name xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">sample string 5</name>
    <RoleId>1</RoleId>
    <RoleName>sample string 2</RoleName>
  </Role>
  <Role>
    <displayName xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">sample string 6</displayName>
    <enabled xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">true</enabled>
    <id xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">4</id>
    <name xmlns="http://schemas.datacontract.org/2004/07/libMIMO.models">sample string 5</name>
    <RoleId>1</RoleId>
    <RoleName>sample string 2</RoleName>
  </Role>
</ArrayOfRole>