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": "401ed4c8-2a44-42f3-933c-855af7ec1165",
"OrganizationRoleId": "a399d925-ee12-4b0c-b9d7-47543ac15d4e",
"StateQuestionId": "c199cdbb-7484-4de3-b42f-40233d4d9011",
"Read": true,
"Update": true
},
{
"Id": "401ed4c8-2a44-42f3-933c-855af7ec1165",
"OrganizationRoleId": "a399d925-ee12-4b0c-b9d7-47543ac15d4e",
"StateQuestionId": "c199cdbb-7484-4de3-b42f-40233d4d9011",
"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>401ed4c8-2a44-42f3-933c-855af7ec1165</Id>
<OrganizationRoleId>a399d925-ee12-4b0c-b9d7-47543ac15d4e</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>c199cdbb-7484-4de3-b42f-40233d4d9011</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>401ed4c8-2a44-42f3-933c-855af7ec1165</Id>
<OrganizationRoleId>a399d925-ee12-4b0c-b9d7-47543ac15d4e</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>c199cdbb-7484-4de3-b42f-40233d4d9011</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": "f9da0a9d-4ba4-4e27-b161-f988f7f78431",
"OrganizationRoleId": "0fd0bc83-e61b-4bd3-a5d0-5c67a61918a7",
"StateQuestionId": "a47d3fb4-3204-4481-b532-76e8d7d84a06",
"Read": true,
"Update": true
},
{
"Id": "f9da0a9d-4ba4-4e27-b161-f988f7f78431",
"OrganizationRoleId": "0fd0bc83-e61b-4bd3-a5d0-5c67a61918a7",
"StateQuestionId": "a47d3fb4-3204-4481-b532-76e8d7d84a06",
"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>f9da0a9d-4ba4-4e27-b161-f988f7f78431</Id>
<OrganizationRoleId>0fd0bc83-e61b-4bd3-a5d0-5c67a61918a7</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>a47d3fb4-3204-4481-b532-76e8d7d84a06</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>f9da0a9d-4ba4-4e27-b161-f988f7f78431</Id>
<OrganizationRoleId>0fd0bc83-e61b-4bd3-a5d0-5c67a61918a7</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>a47d3fb4-3204-4481-b532-76e8d7d84a06</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>