OperationsControllerGetOperation - метод

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

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[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
)

Параметры

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.

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

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

См. также