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": "b2cde9f3-83f9-40d0-8d91-645db6dff160",
"OrganizationRoleId": "6a288779-c0c8-482e-9d18-ce2713b25fd1",
"StateQuestionId": "d4bc7f34-884e-4f96-a0d7-4cc72f9b5839",
"Read": true,
"Update": true
},
{
"Id": "b2cde9f3-83f9-40d0-8d91-645db6dff160",
"OrganizationRoleId": "6a288779-c0c8-482e-9d18-ce2713b25fd1",
"StateQuestionId": "d4bc7f34-884e-4f96-a0d7-4cc72f9b5839",
"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>b2cde9f3-83f9-40d0-8d91-645db6dff160</Id>
<OrganizationRoleId>6a288779-c0c8-482e-9d18-ce2713b25fd1</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>d4bc7f34-884e-4f96-a0d7-4cc72f9b5839</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>b2cde9f3-83f9-40d0-8d91-645db6dff160</Id>
<OrganizationRoleId>6a288779-c0c8-482e-9d18-ce2713b25fd1</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>d4bc7f34-884e-4f96-a0d7-4cc72f9b5839</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": "58a0c98b-22df-420c-b3f8-210548e44acf",
"OrganizationRoleId": "762ad5ee-2f88-4df4-b5f7-9632765921b5",
"StateQuestionId": "b84cdfd9-ff70-4bbb-9530-06cf6652e73d",
"Read": true,
"Update": true
},
{
"Id": "58a0c98b-22df-420c-b3f8-210548e44acf",
"OrganizationRoleId": "762ad5ee-2f88-4df4-b5f7-9632765921b5",
"StateQuestionId": "b84cdfd9-ff70-4bbb-9530-06cf6652e73d",
"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>58a0c98b-22df-420c-b3f8-210548e44acf</Id>
<OrganizationRoleId>762ad5ee-2f88-4df4-b5f7-9632765921b5</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>b84cdfd9-ff70-4bbb-9530-06cf6652e73d</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>58a0c98b-22df-420c-b3f8-210548e44acf</Id>
<OrganizationRoleId>762ad5ee-2f88-4df4-b5f7-9632765921b5</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>b84cdfd9-ff70-4bbb-9530-06cf6652e73d</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>