MetricSetController.ReplaceAnalysisStructure Method |
Replaces the metric set's analysis structure with a different one.
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("ReplaceAnalysisStructure/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<MetricSetData> ReplaceAnalysisStructure(
Guid id,
[FromBodyAttribute] ReplaceAnalysisStructureOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("ReplaceAnalysisStructure/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function ReplaceAnalysisStructure (
id As Guid,
<FromBodyAttribute> options As ReplaceAnalysisStructureOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MetricSetData)
public:
[HttpPostAttribute(L"ReplaceAnalysisStructure/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<MetricSetData^>^ ReplaceAnalysisStructure(
Guid id,
[FromBodyAttribute] ReplaceAnalysisStructureOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("ReplaceAnalysisStructure/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member ReplaceAnalysisStructure :
id : Guid *
[<FromBodyAttribute>] options : ReplaceAnalysisStructureOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MetricSetData>
Parameters
- id
- Type: System.Guid
The ID of the metric set to replace the analysis structure for. - options
- Type: Dundas.BI.WebApi.Models.ReplaceAnalysisStructureOptions
The options to replace the structure with. - 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