FileController.UndoCheckOut Method (Guid, Nullable<Guid>) |
Discards the changes to the checked out file with the specified ID, and cancels the check out.
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("UndoCheckOut/{id}")]
[ProducesResponseTypeAttribute(440)]
public ActionResult<UndoCheckOutResultData> UndoCheckOut(
Guid id,
Guid? sessionId = null
)
<HttpPostAttribute("UndoCheckOut/{id}")>
<ProducesResponseTypeAttribute(440)>
Public Function UndoCheckOut (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of UndoCheckOutResultData)
public:
[HttpPostAttribute(L"UndoCheckOut/{id}")]
[ProducesResponseTypeAttribute(440)]
ActionResult<UndoCheckOutResultData^>^ UndoCheckOut(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("UndoCheckOut/{id}")>]
[<ProducesResponseTypeAttribute(440)>]
member UndoCheckOut :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<UndoCheckOutResultData>
Parameters
- id
- Type: System.Guid
The ID of the file for which to undo the check out. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<UndoCheckOutResultData>The operation completed successfully. The payload contains an
UndoCheckOutResultData object.
See Also