POST api/organizations/{organizationId}/roles/{roleId}/states/{stateId}/sections
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationId | globally unique identifier |
Required |
|
| roleId | globally unique identifier |
Required |
|
| stateId | globally unique identifier |
Required |
Body Parameters
Collection of RoleSectionSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OrganizationRoleId | globally unique identifier |
None. |
|
| StateSectionId | globally unique identifier |
None. |
|
| Read | boolean |
None. |
|
| Update | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "f2e1ae5d-997b-4b7c-853c-334d02306273",
"OrganizationRoleId": "be6a4bac-50c7-4f26-b127-5d249430591e",
"StateSectionId": "b2ee9939-a4bb-4bf9-8304-92170adb1630",
"Read": true,
"Update": true
},
{
"Id": "f2e1ae5d-997b-4b7c-853c-334d02306273",
"OrganizationRoleId": "be6a4bac-50c7-4f26-b127-5d249430591e",
"StateSectionId": "b2ee9939-a4bb-4bf9-8304-92170adb1630",
"Read": true,
"Update": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRoleSectionSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
<RoleSectionSimple>
<Id>f2e1ae5d-997b-4b7c-853c-334d02306273</Id>
<OrganizationRoleId>be6a4bac-50c7-4f26-b127-5d249430591e</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>b2ee9939-a4bb-4bf9-8304-92170adb1630</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>f2e1ae5d-997b-4b7c-853c-334d02306273</Id>
<OrganizationRoleId>be6a4bac-50c7-4f26-b127-5d249430591e</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>b2ee9939-a4bb-4bf9-8304-92170adb1630</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
</ArrayOfRoleSectionSimple>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RoleSectionSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OrganizationRoleId | globally unique identifier |
None. |
|
| StateSectionId | globally unique identifier |
None. |
|
| Read | boolean |
None. |
|
| Update | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "d3a0dcbc-d89f-4456-8d6c-b8c924382ee3",
"OrganizationRoleId": "be53bb25-be4d-43a8-ac15-4e79be0886fd",
"StateSectionId": "5d009663-5b64-4f9b-95ac-2195835701fa",
"Read": true,
"Update": true
},
{
"Id": "d3a0dcbc-d89f-4456-8d6c-b8c924382ee3",
"OrganizationRoleId": "be53bb25-be4d-43a8-ac15-4e79be0886fd",
"StateSectionId": "5d009663-5b64-4f9b-95ac-2195835701fa",
"Read": true,
"Update": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRoleSectionSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
<RoleSectionSimple>
<Id>d3a0dcbc-d89f-4456-8d6c-b8c924382ee3</Id>
<OrganizationRoleId>be53bb25-be4d-43a8-ac15-4e79be0886fd</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>5d009663-5b64-4f9b-95ac-2195835701fa</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>d3a0dcbc-d89f-4456-8d6c-b8c924382ee3</Id>
<OrganizationRoleId>be53bb25-be4d-43a8-ac15-4e79be0886fd</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>5d009663-5b64-4f9b-95ac-2195835701fa</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
</ArrayOfRoleSectionSimple>