GET {repositoryId}/OrganizationalUnit/{id}/BelongsToOrganization/{organizationId}
Checks if the unit belongs to the given organization.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
id |
The ID of the organizational unit. |
string |
Required |
organizationId |
ID of an organization. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
"ResponseValue" = true if the unit belongs to the given organization, 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>