CardsControllerPostStore - метод

Save card Card with specified attributes. If card has StoreMode as Insert, then the card is being created as the new one, otherwise existent card is modified.

Definition

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

Параметры

request  CardStoreRequest
Request to save the card.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultCardStoreResponse
Response to the request.

См. также