MetricSetController.UpdateElementOnMetricSet Method |
Updates the specified element on the 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[HttpPutAttribute("UpdateElement/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MetricSetData> UpdateElementOnMetricSet(
Guid id,
[FromBodyAttribute] AnalysisElementUsageData element,
Guid? sessionId = null
)
<HttpPutAttribute("UpdateElement/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function UpdateElementOnMetricSet (
id As Guid,
<FromBodyAttribute> element As AnalysisElementUsageData,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MetricSetData)
public:
[HttpPutAttribute(L"UpdateElement/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<MetricSetData^>^ UpdateElementOnMetricSet(
Guid id,
[FromBodyAttribute] AnalysisElementUsageData^ element,
Nullable<Guid> sessionId = nullptr
)
[<HttpPutAttribute("UpdateElement/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member UpdateElementOnMetricSet :
id : Guid *
[<FromBodyAttribute>] element : AnalysisElementUsageData *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MetricSetData>
Parameters
- id
- Type: System.Guid
The ID of the metric set to update the element on. - element
- Type: Dundas.BI.WebApi.Models.AnalysisElementUsageData
The element to update. - 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