ClientControllerPostDereserveNumber - метод

Dereserve specified number from the sequence. Used to perform an action when closing browser window, so can't operate with request body.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
C#
[HttpPostAttribute("v1/client/sequences/dereserve")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardResponse>> PostDereserveNumber(
	[FromQueryAttribute] string sequenceName,
	[FromQueryAttribute] long number,
	CancellationToken cancellationToken = default
)

Параметры

sequenceName  String
Sequence to dereserve number from. As it is query parameter of string type, URI encoding is required to pass it.
number  Int64
Number to dereserve.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultCardResponse
Response to number dereserving operation CardResponse as typed JSON.

См. также