GET api/organizations/{organizationId}/roles/questions/{stateQuestionId}/roles
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationId | globally unique identifier |
Required |
|
| stateQuestionId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RoleQuestionSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OrganizationRoleId | globally unique identifier |
None. |
|
| StateQuestionId | globally unique identifier |
None. |
|
| Read | boolean |
None. |
|
| Update | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "22c971c2-389f-4a4b-be22-8b04b9a3b5c0",
"OrganizationRoleId": "889a007e-0e72-4b24-b882-db724f4e28d2",
"StateQuestionId": "b507b171-e213-41b8-b7f8-297921d2157f",
"Read": true,
"Update": true
},
{
"Id": "22c971c2-389f-4a4b-be22-8b04b9a3b5c0",
"OrganizationRoleId": "889a007e-0e72-4b24-b882-db724f4e28d2",
"StateQuestionId": "b507b171-e213-41b8-b7f8-297921d2157f",
"Read": true,
"Update": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRoleQuestionSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
<RoleQuestionSimple>
<Id>22c971c2-389f-4a4b-be22-8b04b9a3b5c0</Id>
<OrganizationRoleId>889a007e-0e72-4b24-b882-db724f4e28d2</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>b507b171-e213-41b8-b7f8-297921d2157f</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>22c971c2-389f-4a4b-be22-8b04b9a3b5c0</Id>
<OrganizationRoleId>889a007e-0e72-4b24-b882-db724f4e28d2</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>b507b171-e213-41b8-b7f8-297921d2157f</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>