OperationsControllerGetOperation - метод
Get operation attributes, or 204 (No Content) if operation isn't found.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Operation>> GetOperation(
[FromRouteAttribute] Guid id,
[FromQueryAttribute(Name = "full")] bool loadEverything = false,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("{id:guid}")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetOperation (
<FromRouteAttribute> id As Guid,
<FromQueryAttribute(Name := "full")> Optional loadEverything As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Operation))
public:
[HttpGetAttribute(L"{id:guid}")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<Operation^>^>^ GetOperation(
[FromRouteAttribute] Guid id,
[FromQueryAttribute(Name = L"full")] bool loadEverything = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("{id:guid}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetOperation :
[<FromRouteAttribute>] id : Guid *
[<FromQueryAttribute(Name = "full")>] ?loadEverything : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _loadEverything = defaultArg loadEverything false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<Operation>>
- id Guid
- Identifier of operation.
- loadEverything Boolean (Optional)
-
Flag whether all operation attributes should be returned, including properties
Request,
RequestHash
and Response.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultOperationOperation attributes, or 204 (No Content) if operation isn't found.