CardsControllerPostRequest - метод

Perform universal query to cards API with specified attributes. It executes any business logic registered for specified RequestType. Operation can be linked to specific card CardID or it can be linked to no card.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("request")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardResponse>> PostRequest(
	[FromBodyAttribute] CardRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  CardRequest
Request to universal cards API.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultCardResponse
Response to the request.

См. также