POST api/organizations/{organizationId}/roles/{roleId}/states/{stateId}/Questions?stateSectionId={stateSectionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationId | globally unique identifier |
Required |
|
| roleId | globally unique identifier |
Required |
|
| stateId | globally unique identifier |
Required |
|
| stateSectionId | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "eb266d74-aab8-4e34-bac7-1e34af41ec5e",
"OrganizationRoleId": "0663d3ec-ba21-44d6-832f-5cdf258b64b4",
"StateQuestionId": "01e4310c-c629-4ddf-b6a0-41c071ce3994",
"Read": true,
"Update": true
},
{
"Id": "eb266d74-aab8-4e34-bac7-1e34af41ec5e",
"OrganizationRoleId": "0663d3ec-ba21-44d6-832f-5cdf258b64b4",
"StateQuestionId": "01e4310c-c629-4ddf-b6a0-41c071ce3994",
"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>eb266d74-aab8-4e34-bac7-1e34af41ec5e</Id>
<OrganizationRoleId>0663d3ec-ba21-44d6-832f-5cdf258b64b4</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>01e4310c-c629-4ddf-b6a0-41c071ce3994</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>eb266d74-aab8-4e34-bac7-1e34af41ec5e</Id>
<OrganizationRoleId>0663d3ec-ba21-44d6-832f-5cdf258b64b4</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>01e4310c-c629-4ddf-b6a0-41c071ce3994</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "e2038482-acce-494d-ab2f-358cb975a25c",
"OrganizationRoleId": "66c40f05-7cf4-49ab-82be-ba6ce96c9688",
"StateQuestionId": "66049ba8-0b90-4490-9661-a68fba566a61",
"Read": true,
"Update": true
},
{
"Id": "e2038482-acce-494d-ab2f-358cb975a25c",
"OrganizationRoleId": "66c40f05-7cf4-49ab-82be-ba6ce96c9688",
"StateQuestionId": "66049ba8-0b90-4490-9661-a68fba566a61",
"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>e2038482-acce-494d-ab2f-358cb975a25c</Id>
<OrganizationRoleId>66c40f05-7cf4-49ab-82be-ba6ce96c9688</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>66049ba8-0b90-4490-9661-a68fba566a61</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>e2038482-acce-494d-ab2f-358cb975a25c</Id>
<OrganizationRoleId>66c40f05-7cf4-49ab-82be-ba6ce96c9688</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>66049ba8-0b90-4490-9661-a68fba566a61</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>