HierarchyController.GetHierarchy Method |
Gets a 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("{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<HierarchyData> GetHierarchy(
Guid id,
string uniqueName = "",
Guid? sessionId = null
)
<HttpGetAttribute("{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GetHierarchy (
id As Guid,
Optional uniqueName As String = "",
Optional sessionId As Guid? = Nothing
) As ActionResult(Of HierarchyData)
public:
[HttpGetAttribute(L"{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<HierarchyData^>^ GetHierarchy(
Guid id,
String^ uniqueName = L"",
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GetHierarchy :
id : Guid *
?uniqueName : string *
?sessionId : Nullable<Guid>
(* Defaults:
let _uniqueName = defaultArg uniqueName ""
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<HierarchyData>
Parameters
- id
- Type: System.Guid
The ID of the hierarchy to get or its parent entity. - uniqueName (Optional)
- Type: System.String
The unique name of the 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.
See Also