Get Group Hierarchy

👍

Availability

Corporate Hierarchy is currently in a preliminary state and is available for select clients. The information in this guide is subject to change as development proceeds and is not a guarantee of future functionality. Contact Galileo if you are interested in learning more about this product.

Use the Get Group Hierarchy endpoint to retrieve a group's hierarchy, either a root group or a non-root group. This endpoint returns only the groups, not the associated accounts. By default, the endpoint returns all of the subgroups that are downstream of the specified group. Pass a value for subGroupLevel to specify how many subgroup levels to retrieve.

See Creating a Corporate Hierarchy for instructions on using this endpoint.

See Global Response Statuses for status codes that are common across endpoints.

The table below lists status codes that apply to this specific endpoint.

Status CodeCode Description
617-01Invalid group ID. The groupId does not exist in the core. Verify that groupId is correct by calling Get Group Hierarchy for the root group.
617-02Invalid subGroupLevel. The value in subGroupLevel exceeds the group's maximum level or has an invalid value.
Language
Click Try It! to start a request and see the response here!