/providers/{NamespaceID}/{ProviderID}/{DimensionName}MasterWithHierarchy

You can check the list of dimension master data with parent-child hierarchy endpoints where relevant in the service document.

Each of these endpoints extracts parent-child hierarchy data out of one individual column of the mode. The entity set name follows this convention: column name followed by MasterWithHierarchy. For each parent-child hierarchy of the dimension, every row has three additional columns compared to the standard dimension master:
  • {HierarchyName}_PARENTID: the ID of the parent node in the hierarchy.

  • {HierarchyName}_PREVID: the previous node which shares the same parent as this one in the hierarchy.

  • {HierarchyName}_ORDERID: the index of this node in the list of nodes that share the parent node.

Account, generic and organization dimensions are supported.

API Request Details

URL

{BaseURL}/providers/{NamespaceID}/{ProviderID}/{DimensionName}MasterWithHierarchy

Request Type

GET

Content Type

application/json

Sample Response

{ 
    "@odata.context": "$metadata#EmployeeMasterWithHierarchy ", 
    "value": [ 
        { 
			"ID": "1", 
			"Name": "John", 
			"Description": "CEO", 
			"ManagerId_PARENTID": "", 
			"ManagerId_PREVID": "", 
			"ManagerId_ORDERID": "1" 
        } 
    ] 
}