Add Hierarchy Nodes

post

/config/sim/v2/hierarchy/zones/nodes

Add a Hierarchy Node of hierType 'Zone'

Request

Supported Media Types
Header Parameters
Body ()
Hierarchy Node insert request body
Root Schema : schema
Type: object
Model for Node Object Insert Request
Show Source
  • Hierarchy Unit Id of the node. This field is supported for nodeTypes 'Location' and 'RVC'.
    Example: 1
  • name
    Name of the zone. This field is only supported and required for nodeType 'Zone'.
  • Type of the node to be inserted (Location/RVC/Zone)
    Example: Zone
  • Object Number of the zone. This field is only supported and required for nodeType 'Zone'.
    Example: 12
  • 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

    List of bits that can be set for a particular zoneType

    ZoneType List of valid bits (starts from 1)
    NULL 3, 5
    1 1, 2, 3, 5
    2 2, 3, 4, 5
    Example: 0000000000000000
  • HierUnitId of the zone/enterprise under which the node is to be inserted.
    Example: 3599
  • Default Value: null

    Type of the zone. This field is only supported for nodeType 'Zone'.

    zoneType Eligible Child Nodes
    NULL NA
    1 Locations and RVCs
    2 RVCs only
    Example: 1
Nested Schema : name
Type: object
Name of the zone. This field is only supported and required for nodeType 'Zone'.
Example:
{
    "1":"Currency",
    "2":"W??hrung",
    "3":"Divisa"
}
Back to Top

Response

Supported Media Types

200 Response

Insert operation executed successfully.
Body ()
Root Schema : schema
Type: object
Show Source
Back to Top