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.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpPostAttribute("new")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[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.

См. также