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.0.4
C#
[HttpGetAttribute("get-id")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Guid?>> GetID(
	[FromQueryAttribute(Name = "type")] Guid typeID,
	[FromQueryAttribute(Name = "hash")] byte[] requestHash,
	CancellationToken cancellationToken = default
)

Параметры

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

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

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

См. также