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": "05c127fb-1977-4a5d-93c8-9e8f039b3de9",
"OrganizationRoleId": "aa202965-93ca-405e-8db9-174b86ace26c",
"StateSectionId": "e062f10b-22cd-46cb-9e01-8e8d12db1f39",
"Read": true,
"Update": true
},
{
"Id": "05c127fb-1977-4a5d-93c8-9e8f039b3de9",
"OrganizationRoleId": "aa202965-93ca-405e-8db9-174b86ace26c",
"StateSectionId": "e062f10b-22cd-46cb-9e01-8e8d12db1f39",
"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>05c127fb-1977-4a5d-93c8-9e8f039b3de9</Id>
<OrganizationRoleId>aa202965-93ca-405e-8db9-174b86ace26c</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>e062f10b-22cd-46cb-9e01-8e8d12db1f39</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>05c127fb-1977-4a5d-93c8-9e8f039b3de9</Id>
<OrganizationRoleId>aa202965-93ca-405e-8db9-174b86ace26c</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>e062f10b-22cd-46cb-9e01-8e8d12db1f39</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": "8c96a14b-429d-4457-8d25-572a68af6f1a",
"OrganizationRoleId": "3b2c1f90-186a-4254-90f9-95719c72a50c",
"StateSectionId": "7fefe47d-c9f5-4d22-b4cb-bc77b392536d",
"Read": true,
"Update": true
},
{
"Id": "8c96a14b-429d-4457-8d25-572a68af6f1a",
"OrganizationRoleId": "3b2c1f90-186a-4254-90f9-95719c72a50c",
"StateSectionId": "7fefe47d-c9f5-4d22-b4cb-bc77b392536d",
"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>8c96a14b-429d-4457-8d25-572a68af6f1a</Id>
<OrganizationRoleId>3b2c1f90-186a-4254-90f9-95719c72a50c</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>7fefe47d-c9f5-4d22-b4cb-bc77b392536d</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>8c96a14b-429d-4457-8d25-572a68af6f1a</Id>
<OrganizationRoleId>3b2c1f90-186a-4254-90f9-95719c72a50c</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>7fefe47d-c9f5-4d22-b4cb-bc77b392536d</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
</ArrayOfRoleSectionSimple>