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": "26935eeb-dd38-4237-b856-4b97c536a193",
"OrganizationRoleId": "b0649d69-713f-4e6e-b630-0597242116e1",
"StateQuestionId": "c2a76f13-bd90-412f-a6cc-b9338f7ba317",
"Read": true,
"Update": true
},
{
"Id": "26935eeb-dd38-4237-b856-4b97c536a193",
"OrganizationRoleId": "b0649d69-713f-4e6e-b630-0597242116e1",
"StateQuestionId": "c2a76f13-bd90-412f-a6cc-b9338f7ba317",
"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>26935eeb-dd38-4237-b856-4b97c536a193</Id>
<OrganizationRoleId>b0649d69-713f-4e6e-b630-0597242116e1</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>c2a76f13-bd90-412f-a6cc-b9338f7ba317</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>26935eeb-dd38-4237-b856-4b97c536a193</Id>
<OrganizationRoleId>b0649d69-713f-4e6e-b630-0597242116e1</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>c2a76f13-bd90-412f-a6cc-b9338f7ba317</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": "f2b30c0e-5981-425c-8274-41a4547406cd",
"OrganizationRoleId": "5f8ae8f6-b209-446a-8fb0-656c4a5c23b4",
"StateQuestionId": "33a39456-d32c-4002-869f-8bfc73d4836a",
"Read": true,
"Update": true
},
{
"Id": "f2b30c0e-5981-425c-8274-41a4547406cd",
"OrganizationRoleId": "5f8ae8f6-b209-446a-8fb0-656c4a5c23b4",
"StateQuestionId": "33a39456-d32c-4002-869f-8bfc73d4836a",
"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>f2b30c0e-5981-425c-8274-41a4547406cd</Id>
<OrganizationRoleId>5f8ae8f6-b209-446a-8fb0-656c4a5c23b4</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>33a39456-d32c-4002-869f-8bfc73d4836a</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>f2b30c0e-5981-425c-8274-41a4547406cd</Id>
<OrganizationRoleId>5f8ae8f6-b209-446a-8fb0-656c4a5c23b4</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>33a39456-d32c-4002-869f-8bfc73d4836a</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>