GET {repositoryId}/OrganizationalUnit/{id}/BelongsToOrganizationalUnitHierarchy/{organizationalUnitId}

Checks if the unit is in the hierarchy of to the given organizational unit.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

id

The ID of the organizational position.

string

Required

organizationalUnitId

ID of an organizational unit.

string

Required

Body Parameters

None.

Response Information

Resource Description

"ResponseValue" = true if the unit is in the hierarchy of the given organizational unit, 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>