GET api/roles?includeDisabled={includeDisabled}&includeVariants={includeVariants}

Get a list of Roles in the system

Request Information

URI Parameters

NameDescriptionTypeAdditional information
includeDisabled

If true, disabled roles will be included

boolean

None.

includeVariants

If true, variants of roles will be included.

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RoleListDTO
NameDescriptionTypeAdditional information
RoleID

integer

None.

RoleName

string

None.

ParentRoleID

integer

None.

deleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RoleID": 1,
    "RoleName": "sample string 2",
    "ParentRoleID": 3,
    "deleted": true
  },
  {
    "RoleID": 1,
    "RoleName": "sample string 2",
    "ParentRoleID": 3,
    "deleted": true
  }
]