OperationsControllerPostUpdateStatus - метод

Update status of the operation. Returns true if operation is found and its status is set.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpPostAttribute("update-status")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[TypedJsonBodyAttribute]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<bool>> PostUpdateStatus(
	[FromBodyAttribute] UpdateOperationStatusRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  UpdateOperationStatusRequest
Request to update operation status.
cancellationToken  CancellationToken  (Optional)
Token to cancel an async task.

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

TaskActionResultBoolean
true, if operation is found and its status is set; false otherwise.

См. также