HierarchyEntityController.UpdateHierarchy Method |
Updates the given 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[HttpPutAttribute("{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<HierarchyEntityData> UpdateHierarchy(
Guid id,
[FromBodyAttribute] UpdateHierarchyOptions options,
Guid? sessionId = null
)
<HttpPutAttribute("{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function UpdateHierarchy (
id As Guid,
<FromBodyAttribute> options As UpdateHierarchyOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of HierarchyEntityData)
public:
[HttpPutAttribute(L"{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<HierarchyEntityData^>^ UpdateHierarchy(
Guid id,
[FromBodyAttribute] UpdateHierarchyOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPutAttribute("{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member UpdateHierarchy :
id : Guid *
[<FromBodyAttribute>] options : UpdateHierarchyOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<HierarchyEntityData>
Parameters
- id
- Type: System.Guid
The ID of the hierarchy. - options
- Type: Dundas.BI.WebApi.Models.UpdateHierarchyOptions
The options to use when updating the hierarchy. - 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