List the divisions of a hierarchy, filtered by external_hierarchy_id, or of a hierarchy level, filtered by external_hierarchy_level_id. Send exactly one of the two, unless you filter by division_code. An external ID that no hierarchy or hierarchy level has returns an empty list.
Results are paginated with a cursor: pass the previous page's pagination.cursor as cursor. The last page has no pagination.cursor.
Filter by division_code to get a one-item list, or an empty list if the organization has no such division. With this filter, external_hierarchy_id and external_hierarchy_level_id are optional, and the division is listed only if it belongs to the hierarchy and hierarchy level sent. limit and cursor are ignored.
Without the division_code filter, items don't include timezone and schema: use Get division to read them. Hierarchies, hierarchy levels and programs created outside Apex are listed without their external IDs.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||