GET api/organizations/{organizationId}/roles
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RoleSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| OrganizationId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "6d2f69de-1d2a-4544-9af9-70112dc7c645",
"Name": "sample string 2",
"OrganizationId": "971dc443-555e-43a7-b994-56984edcb18f"
},
{
"Id": "6d2f69de-1d2a-4544-9af9-70112dc7c645",
"Name": "sample string 2",
"OrganizationId": "971dc443-555e-43a7-b994-56984edcb18f"
}
]
application/xml, text/xml
Sample:
<ArrayOfRoleSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.DTO">
<RoleSimple>
<Id>6d2f69de-1d2a-4544-9af9-70112dc7c645</Id>
<Name>sample string 2</Name>
<OrganizationId>971dc443-555e-43a7-b994-56984edcb18f</OrganizationId>
</RoleSimple>
<RoleSimple>
<Id>6d2f69de-1d2a-4544-9af9-70112dc7c645</Id>
<Name>sample string 2</Name>
<OrganizationId>971dc443-555e-43a7-b994-56984edcb18f</OrganizationId>
</RoleSimple>
</ArrayOfRoleSimple>