Open this page in the API Guide

HierarchyEntityController.AddLevel Method

Adds a level to the hierarchy.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPostAttribute("Level/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<HierarchyEntityData> AddLevel(
	Guid id,
	[FromBodyAttribute] AddHierarchyLevelOptions options,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
ID of the entity.
options
Type: Dundas.BI.WebApi.Models.AddHierarchyLevelOptions
The options to use when adding the level.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<HierarchyEntityData>
The operation completed successfully. The payload contains a HierarchyEntityData object containing the updated hierarchy.
See Also