FileController.PromoteTransient Method |
Promotes a transient file to a real 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("PromoteTransient/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult PromoteTransient(
Guid id,
[FromBodyAttribute] PromoteTransientOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("PromoteTransient/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function PromoteTransient (
id As Guid,
<FromBodyAttribute> options As PromoteTransientOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpPostAttribute(L"PromoteTransient/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ PromoteTransient(
Guid id,
[FromBodyAttribute] PromoteTransientOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("PromoteTransient/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member PromoteTransient :
id : Guid *
[<FromBodyAttribute>] options : PromoteTransientOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the transient file to promote. - options
- Type: Dundas.BI.WebApi.Models.PromoteTransientOptions
The options. - sessionId (Optional)
- Type: System.Nullable<Guid>
The ID of the current session.
Return Value
Type:
ActionResult
See Also