# GET /HierarchyEntity/

Gets a hierarchy.

## Request

Method | Request URI
--- | ---
GET | /API/HierarchyEntity/?id=value&sessionId=value&levelPopulationPolicy=value

### URI Parameters

URI Parameter | Description
--- | ---
id | The ID of the hierarchy to get.
sessionId | Current session ID.
levelPopulationPolicy | The level population policy to be used. This is only applicable to Ragged Hierarchies. The default value is Dundas.BI.WebApi.Models.LevelPopulationPolicy.Auto. See Dundas.BI.WebApi.Models.LevelPopulationPolicy for more details.

### Request Body

There is no Request Body for this function.

## Response

### Response Body

A Dundas.BI.WebApi.Models.HierarchyEntityData or Dundas.BI.WebApi.Models.RaggedHierarchyEntityData object containing the hierarchy, or a status code indicating the problem.

© 1999-2021 Dundas Data Visualization, Inc.