GET api/v1/OrganizationalUnits/{id}

Get an Organizational Unit by its ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID being requested

globally unique identifier

Required

fields

Use this to only return the data fields you're interested in. Field names not found are ignored and no error is thrown. If no fields are found then the full object is returned.

Collection of string

None.

suppressResponseCodes

Some applications do wonky things if error codes are used. Use this to force 200s to always return.

boolean

None.

APIKey

This is your unique key that identifies you as the developer of this app. Required for all calls.

string

None.

APIToken

This is the user's session token generated when you authenticate the user

string

None.

Body Parameters

None.

Response Information

Resource Description

OrganizationalUnit
NameDescriptionTypeAdditional information
ID

The ID of the OU

globally unique identifier

None.

Name

The name of the OU

string

None.

ParentID

The ID of the parent OU. This will be null if this OU is a root OU.

globally unique identifier

None.

ExternalID

The external ID of the OU.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "739c1f99-200a-440e-b86f-f9c1014c1ad8",
  "Name": "sample string 2",
  "ParentID": "b480f5e1-16be-4725-bef5-ef8da7167a60",
  "ExternalID": "sample string 3"
}