OperationsControllerGetOperation - метод

Get operation attributes, or 204 (No Content) if operation isn't found.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpGetAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[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
)

Параметры

id  Guid
Identifier of operation.
loadEverything  Boolean  (Optional)
Flag whether all operation attributes should be returned, including properties Request, Hash and Response.
cancellationToken  CancellationToken  (Optional)
Token to cancel an async task.

Возвращаемое значение

TaskActionResultOperation
Operation attributes, or 204 (No Content) if operation isn't found.

См. также