GET {repositoryId}/OrganizationalUnit/{id}/BelongsToOrganizationalBlock/{organizationalBlockId}

Checks if the unit belongs to the given organizational block.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the organizational unit.

string

Required

organizationalBlockId

ID of an organizational block.

string

Required

repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

None.

Response Information

Resource Description

"ResponseValue" = true if the position belongs to the given organizational block, false otherwise.

Dictionary of string [key] and boolean [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": true,
  "sample string 3": true
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringboolean>
    <Key>sample string 1</Key>
    <Value>true</Value>
  </KeyValueOfstringboolean>
  <KeyValueOfstringboolean>
    <Key>sample string 3</Key>
    <Value>true</Value>
  </KeyValueOfstringboolean>
</ArrayOfKeyValueOfstringboolean>