HierarchyEntityService.getHierarchyById Method

Gets the hierarchy by the given ID.
 

Parameters

id

Type: String
The ID of the parent of the hierarchy to retrieve.
levelPopulationPolicy

Type: LevelPopulationPolicy
The level population policy to be used. This is only applicable to Ragged Hierarchies. Default is 'Auto.'

Return Value


Type: jQuery.Promise
Value: dundas.entities.Hierarchy
A promise object that is resolved when the call is complete. If successful, the dundas.entities.Hierarchy is returned.