OperationsControllerGetID - метод

Get identifier of existent operation with the same request hash and attributes, or 204 (No Content) if no such operation is found.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpGetAttribute("get-id")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Guid?>> GetID(
	[FromQueryAttribute(Name = "type")] Guid typeID,
	[FromQueryAttribute] byte[] hash,
	CancellationToken cancellationToken = default
)

Параметры

typeID  Guid
Type identifier of operation to find. System types are listed in OperationTypes class.
hash  Byte
Operation's hash value.
cancellationToken  CancellationToken  (Optional)
Token to cancel an async task.

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

TaskActionResultNullableGuid
Identifier of existent operation with the same request hash and attributes, or 204 (No Content) if no such operation is found.

См. также