Open this page in the API Guide

TimeDimensionController.GetDefaultTimeHierarchy Method

Gets the default time 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
[HttpGetAttribute("DefaultHierarchy")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<HierarchyData> GetDefaultTimeHierarchy(
	Guid? projectId = null,
	Guid? sessionId = null
)

Parameters

projectId (Optional)
Type: System.Nullable<Guid>
The project ID to use to get the default time hierarchy.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<HierarchyData>
The operation completed successfully. The payload contains a HierarchyData object containing the default time hierarchy.
See Also