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": "0d4c1448-8faf-4ea7-a934-9305a7c5241c",
"OrganizationRoleId": "e1a01cc4-7307-467b-839c-9908a9217b4a",
"StateQuestionId": "27fe2f5e-1374-461e-b875-a09d09669cdf",
"Read": true,
"Update": true
},
{
"Id": "0d4c1448-8faf-4ea7-a934-9305a7c5241c",
"OrganizationRoleId": "e1a01cc4-7307-467b-839c-9908a9217b4a",
"StateQuestionId": "27fe2f5e-1374-461e-b875-a09d09669cdf",
"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>0d4c1448-8faf-4ea7-a934-9305a7c5241c</Id>
<OrganizationRoleId>e1a01cc4-7307-467b-839c-9908a9217b4a</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>27fe2f5e-1374-461e-b875-a09d09669cdf</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>0d4c1448-8faf-4ea7-a934-9305a7c5241c</Id>
<OrganizationRoleId>e1a01cc4-7307-467b-839c-9908a9217b4a</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>27fe2f5e-1374-461e-b875-a09d09669cdf</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": "019cd6a7-eee6-481a-a3ca-b9a98134b1bc",
"OrganizationRoleId": "81133144-2786-4855-9d22-316b221429fc",
"StateQuestionId": "2a688b01-589f-4627-a243-8d84cce46697",
"Read": true,
"Update": true
},
{
"Id": "019cd6a7-eee6-481a-a3ca-b9a98134b1bc",
"OrganizationRoleId": "81133144-2786-4855-9d22-316b221429fc",
"StateQuestionId": "2a688b01-589f-4627-a243-8d84cce46697",
"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>019cd6a7-eee6-481a-a3ca-b9a98134b1bc</Id>
<OrganizationRoleId>81133144-2786-4855-9d22-316b221429fc</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>2a688b01-589f-4627-a243-8d84cce46697</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
<RoleQuestionSimple>
<Id>019cd6a7-eee6-481a-a3ca-b9a98134b1bc</Id>
<OrganizationRoleId>81133144-2786-4855-9d22-316b221429fc</OrganizationRoleId>
<Read>true</Read>
<StateQuestionId>2a688b01-589f-4627-a243-8d84cce46697</StateQuestionId>
<Update>true</Update>
</RoleQuestionSimple>
</ArrayOfRoleQuestionSimple>