MetricSetController.AddReplaceHierarchyOnMetricSet Method |
Adds the specified element + hierarchy to the metric set, or if the element is already on the metric set, updates it to use
the hierarchy given.
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("AddReplaceHierarchy/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MetricSetData> AddReplaceHierarchyOnMetricSet(
Guid id,
[FromBodyAttribute] AddReplaceHierarchyOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("AddReplaceHierarchy/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function AddReplaceHierarchyOnMetricSet (
id As Guid,
<FromBodyAttribute> options As AddReplaceHierarchyOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MetricSetData)
public:
[HttpPostAttribute(L"AddReplaceHierarchy/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<MetricSetData^>^ AddReplaceHierarchyOnMetricSet(
Guid id,
[FromBodyAttribute] AddReplaceHierarchyOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("AddReplaceHierarchy/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member AddReplaceHierarchyOnMetricSet :
id : Guid *
[<FromBodyAttribute>] options : AddReplaceHierarchyOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MetricSetData>
Parameters
- id
- Type: System.Guid
The ID of the metric set to add the element to. - options
- Type: Dundas.BI.WebApi.Models.AddReplaceHierarchyOptions
The options for adding/replacing this element to the metric set. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<MetricSetData>The operation completed successfully. The payload contains a
MetricSetData object containing the updated metric set data.
See Also