CardsControllerPostNew - метод

Create new card object with default field values. Card is not yet present in database.

Definition

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

Параметры

request  CardNewRequest
Request to create the card.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultCardNewResponse
Response to the request.

См. также