A Sandcastle Documented Class Library

# MetricSetController UpdateElementsOnMetricSet Method

PUT /MetricSet/UpdateElements/{id} Updates the specified elements on the metric set.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPutAttribute]
    [ActionNameAttribute("UpdateElements")]
    public IActionResult UpdateElementsOnMetricSet(
    	Guid id,
    	[FromBodyAttribute] IList<AnalysisElementUsageData> elements,
    	Guid? sessionId = null
    )

    <HttpPutAttribute>
    <ActionNameAttribute("UpdateElements")>
    Public Function UpdateElementsOnMetricSet (
    	id As Guid,
    	<FromBodyAttribute> elements As IList(Of AnalysisElementUsageData),
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPutAttribute]
    [ActionNameAttribute(L"UpdateElements")]
    IActionResult^ UpdateElementsOnMetricSet(
    	Guid id,
    	[FromBodyAttribute] IList<AnalysisElementUsageData^>^ elements,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPutAttribute>]
    [<ActionNameAttribute("UpdateElements")>]
    member UpdateElementsOnMetricSet :
            id : Guid *
            [<FromBodyAttribute>] elements : IList<AnalysisElementUsageData> *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the metric set to update the element on.
elements
  Type: System.Collections.Generic
  IList
  AnalysisElementUsageData
  The elements to update.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A MetricSetData object containing the updated metric set data, or a status code indicating the problem.
See Also

#### Reference

MetricSetController Class
Dundas.BI.WebApi.Controllers Namespace