Get Hierarchy Nodes

post

/config/sim/v2/hierarchy/getHierarchyNodes

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 Hierarchy Nodes.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Array of Hierarchy Node records.
Show Source
Nested Schema : HierarchyNode
Type: object
Hierarchy Node record
Show Source
  • A string of values 0s and 1s of length 16 representing the options for the hierarchy node

    Position(starts from 1) Description
    1 EnforceUniquePropertiesWithinZone
    2 EnforceUniqueRVCsWithinZone
    3 restrictModulesInChildZones
    4 allRVCsfromSameLocation
    5 sortAlphabetically
    Example: 0000000000000000
  • Unique reference of the hierarchy node.
    Example: 3597
  • Type to determine if the node is associated to a zone or not.
    Example: Default
  • Unique reference of the hierarchy unit. Multiple nodes with same hierUnitId but different hierStrucId indicate they are the same Location/RVC defined under zone(s) or sub-zone(s).
    Example: 3599
  • name
    Hierarchy Unit Name
  • Type to determine if the node is a Location, RVC, Zone or the Enterprise.
    Example: Location
  • Object number of the Location/RVC/Zone.
    Example: 1
  • Unique reference of the parent hierarchy node.
    Example: 4223
  • Unique reference of the parent hierarchy unit.
    Example: 4234
Nested Schema : name
Type: object
Hierarchy Unit Name
Example:
{
    "1":"Subway",
    "2":"U-Bahn",
    "3":"Metro"
}
Back to Top