Get Hierarchies

post

/config/sim/v2/hierarchy/getHierarchy

Gets a list of hierarchies in a given organization

Request

Supported Media Types
Body ()
The input Body model that needs to be given.
Root Schema : schema
Type: object
Show Source
  • If specified, limits the data returned to these fields.
    Example: hierUnitId, objectNum, name
  • If this value is specified, the include parameter is ignored.
    Value Description
    basic Forces the response to include all fields except option string details
    detailed Forces the response to include all fields including option string details
    Example: detailed
  • If specified, limits translated strings returned
    Example: 1,2,3
  • If using paging, number of results returned in this page.
    Example: 100
  • Starting resource record index. Not required if paging parameters are not supported
    Example: 0
  • Sorts the response by the specified field name and sort order.
    Example: hierUnitId:asc
  • If specified, returns records that match the criteria.
    Example: where equals(hierUnitId, 7)
Back to Top

Response

Supported Media Types

200 Response

A Collection of Hierarchies.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Array of Hierarchy objects of the organization.
Show Source
Nested Schema : Hierarchyv2
Type: object
Model for a Hierarchy Object
Show Source
Nested Schema : name
Type: object
Hierachy Name
Example:
{
    "1":"Enterprise",
    "2":"Unternehmen",
    "3":"Empresa"
}
Nested Schema : nodes
Type: array
An array of Hierarchy.
Show Source
Back to Top