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": "1b0a53ea-9c70-47e4-9cc7-d7d52b300518",
"OrganizationRoleId": "5c66164d-5242-42d3-a06b-79240822dedf",
"StateSectionId": "09ed2f62-dc4c-45bf-9f1d-2d177612ab14",
"Read": true,
"Update": true
},
{
"Id": "1b0a53ea-9c70-47e4-9cc7-d7d52b300518",
"OrganizationRoleId": "5c66164d-5242-42d3-a06b-79240822dedf",
"StateSectionId": "09ed2f62-dc4c-45bf-9f1d-2d177612ab14",
"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>1b0a53ea-9c70-47e4-9cc7-d7d52b300518</Id>
<OrganizationRoleId>5c66164d-5242-42d3-a06b-79240822dedf</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>09ed2f62-dc4c-45bf-9f1d-2d177612ab14</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>1b0a53ea-9c70-47e4-9cc7-d7d52b300518</Id>
<OrganizationRoleId>5c66164d-5242-42d3-a06b-79240822dedf</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>09ed2f62-dc4c-45bf-9f1d-2d177612ab14</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": "21f49439-9bb7-4d11-b42a-3aae1f99da9d",
"OrganizationRoleId": "43f0fa70-129e-484a-b37d-0a482f91f5c9",
"StateSectionId": "45f6c467-5f6f-4513-97ba-7099e2084474",
"Read": true,
"Update": true
},
{
"Id": "21f49439-9bb7-4d11-b42a-3aae1f99da9d",
"OrganizationRoleId": "43f0fa70-129e-484a-b37d-0a482f91f5c9",
"StateSectionId": "45f6c467-5f6f-4513-97ba-7099e2084474",
"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>21f49439-9bb7-4d11-b42a-3aae1f99da9d</Id>
<OrganizationRoleId>43f0fa70-129e-484a-b37d-0a482f91f5c9</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>45f6c467-5f6f-4513-97ba-7099e2084474</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>21f49439-9bb7-4d11-b42a-3aae1f99da9d</Id>
<OrganizationRoleId>43f0fa70-129e-484a-b37d-0a482f91f5c9</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>45f6c467-5f6f-4513-97ba-7099e2084474</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
</ArrayOfRoleSectionSimple>