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. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "ad548b56-b8df-43cf-9ec2-267cf0e1b46e",
"Name": "sample string 2"
},
{
"Id": "ad548b56-b8df-43cf-9ec2-267cf0e1b46e",
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfRoleSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
<RoleSimple>
<Id>ad548b56-b8df-43cf-9ec2-267cf0e1b46e</Id>
<Name>sample string 2</Name>
</RoleSimple>
<RoleSimple>
<Id>ad548b56-b8df-43cf-9ec2-267cf0e1b46e</Id>
<Name>sample string 2</Name>
</RoleSimple>
</ArrayOfRoleSimple>