MetricSetController.CreateTemporaryCopy Method |
Creates a temporary copy of 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[HttpPostAttribute("CreateTemporaryCopy/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public virtual ActionResult<MetricSetData> CreateTemporaryCopy(
Guid id,
[FromBodyAttribute] Guid? parentEntityId = null,
Guid? sessionId = null
)
<HttpPostAttribute("CreateTemporaryCopy/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Overridable Function CreateTemporaryCopy (
id As Guid,
<FromBodyAttribute> Optional parentEntityId As Guid? = Nothing,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of MetricSetData)
public:
[HttpPostAttribute(L"CreateTemporaryCopy/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
virtual ActionResult<MetricSetData^>^ CreateTemporaryCopy(
Guid id,
[FromBodyAttribute] Nullable<Guid> parentEntityId = nullptr,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("CreateTemporaryCopy/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
abstract CreateTemporaryCopy :
id : Guid *
[<FromBodyAttribute>] ?parentEntityId : Nullable<Guid> *
?sessionId : Nullable<Guid>
(* Defaults:
let _parentEntityId = defaultArg parentEntityId null
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MetricSetData>
[<HttpPostAttribute("CreateTemporaryCopy/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
override CreateTemporaryCopy :
id : Guid *
[<FromBodyAttribute>] ?parentEntityId : Nullable<Guid> *
?sessionId : Nullable<Guid>
(* Defaults:
let _parentEntityId = defaultArg parentEntityId null
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<MetricSetData>
Parameters
- id
- Type: System.Guid
The ID of the metric set to create a copy of. - parentEntityId (Optional)
- Type: System.Nullable<Guid>
If this metric set should be a transient metric set under an existing entity, the entity ID can provided. Otherwise the global temporary folder is used. - 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