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": "5ec9e237-e205-4db0-ab5d-70fd25c00980",
"OrganizationRoleId": "66f9ff42-39fe-42a6-92ea-f5ecc45367f2",
"StateSectionId": "a9f6fc72-f7a2-4c71-b99a-3904b8e10f91",
"Read": true,
"Update": true
},
{
"Id": "5ec9e237-e205-4db0-ab5d-70fd25c00980",
"OrganizationRoleId": "66f9ff42-39fe-42a6-92ea-f5ecc45367f2",
"StateSectionId": "a9f6fc72-f7a2-4c71-b99a-3904b8e10f91",
"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>5ec9e237-e205-4db0-ab5d-70fd25c00980</Id>
<OrganizationRoleId>66f9ff42-39fe-42a6-92ea-f5ecc45367f2</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>a9f6fc72-f7a2-4c71-b99a-3904b8e10f91</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>5ec9e237-e205-4db0-ab5d-70fd25c00980</Id>
<OrganizationRoleId>66f9ff42-39fe-42a6-92ea-f5ecc45367f2</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>a9f6fc72-f7a2-4c71-b99a-3904b8e10f91</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": "816ec11b-86b3-4b8a-b78b-a54aa2766b73",
"OrganizationRoleId": "e682fe55-b483-4909-aed8-a7d7e978a1d6",
"StateSectionId": "29883297-5cb6-45bf-9377-87cbcda77b92",
"Read": true,
"Update": true
},
{
"Id": "816ec11b-86b3-4b8a-b78b-a54aa2766b73",
"OrganizationRoleId": "e682fe55-b483-4909-aed8-a7d7e978a1d6",
"StateSectionId": "29883297-5cb6-45bf-9377-87cbcda77b92",
"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>816ec11b-86b3-4b8a-b78b-a54aa2766b73</Id>
<OrganizationRoleId>e682fe55-b483-4909-aed8-a7d7e978a1d6</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>29883297-5cb6-45bf-9377-87cbcda77b92</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
<RoleSectionSimple>
<Id>816ec11b-86b3-4b8a-b78b-a54aa2766b73</Id>
<OrganizationRoleId>e682fe55-b483-4909-aed8-a7d7e978a1d6</OrganizationRoleId>
<Read>true</Read>
<StateSectionId>29883297-5cb6-45bf-9377-87cbcda77b92</StateSectionId>
<Update>true</Update>
</RoleSectionSimple>
</ArrayOfRoleSectionSimple>