MetricSetController.AddAllElementsToMetricSet Method |
Adds all the elements to the metric set with the specified placement position.
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("AddAllElements/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MetricSetData> AddAllElementsToMetricSet(
Guid id,
[FromBodyAttribute] PlacementPosition placement,
Guid? sessionId = null
)
<HttpPostAttribute("AddAllElements/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function AddAllElementsToMetricSet (
id As Guid,
<FromBodyAttribute> placement As PlacementPosition,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MetricSetData)
public:
[HttpPostAttribute(L"AddAllElements/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<MetricSetData^>^ AddAllElementsToMetricSet(
Guid id,
[FromBodyAttribute] PlacementPosition placement,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("AddAllElements/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member AddAllElementsToMetricSet :
id : Guid *
[<FromBodyAttribute>] placement : PlacementPosition *
?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 elements to. - placement
- Type: Dundas.BI.Entities.MetricSets.PlacementPosition
The placement position to add all the elements to. - 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