MetricSetController.RemoveElementFromMetricSet Method |
Removes an element from a metric set.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpDeleteAttribute("RemoveElement/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MetricSetData> RemoveElementFromMetricSet(
Guid id,
string elementUniqueName,
Guid? sessionId = null
)
<HttpDeleteAttribute("RemoveElement/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function RemoveElementFromMetricSet (
id As Guid,
elementUniqueName As String,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MetricSetData)
public:
[HttpDeleteAttribute(L"RemoveElement/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<MetricSetData^>^ RemoveElementFromMetricSet(
Guid id,
String^ elementUniqueName,
Nullable<Guid> sessionId = nullptr
)
[<HttpDeleteAttribute("RemoveElement/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member RemoveElementFromMetricSet :
id : Guid *
elementUniqueName : string *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MetricSetData>
Parameters
- id
- Type: System.Guid
The ID of the metric set. - elementUniqueName
- Type: System.String
The unique name of the analysis element of the element to remove. - 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