HierarchyService.getHierarchyById Method
        
 Gets the hierarchy by the given ID.
 
         
        Parameters
        
            - id
            
 
            - 
                
Type: String
The ID of the hierarchy to retrieve or its parent entity. 
            - uniqueName
            
 
            - 
                
Type: String
(optional) The unique name of the hierarchy (in case there are multiple).
Optional: True 
        
        Return Value
        
Type: jQuery.Promise
        
Value: dundas.data.Hierarchy
        
A promise object that is resolved when the call is complete.
 If successful, the dundas.data.Hierarchy is returned.