GET api/v7/Roles
Get all roles for a tenant. Tenant information is obtained from Token
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns list of all roles for a tenant
Collection of RoleName | Description | Type |
---|---|---|
roleCode |
Unique code for user role |
string |
roleName |
Name of the role |
string |
customerAuditDate |
Last modified audit information |
date |
Response Formats
application/json, text/json
Sample:
[ { "roleCode": "sample string 1", "roleName": "sample string 2", "customerAuditDate": "2018-01-01T00:00:00" }, { "roleCode": "sample string 1", "roleName": "sample string 2", "customerAuditDate": "2018-01-01T00:00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfRole xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Role> <roleCode>sample string 1</roleCode> <roleName>sample string 2</roleName> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> </Role> <Role> <roleCode>sample string 1</roleCode> <roleName>sample string 2</roleName> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> </Role> </ArrayOfRole>