CardsControllerCardCreateFromTemplate - метод
Create card from specified template. Card is not yet present in database.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("create-from-template")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardCreateFromTemplateResponse>> CardCreateFromTemplate(
CardCreateFromTemplateRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("create-from-template")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function CardCreateFromTemplate (
request As CardCreateFromTemplateRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of CardCreateFromTemplateResponse))
public:
[HttpPostAttribute(L"create-from-template")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<CardCreateFromTemplateResponse^>^>^ CardCreateFromTemplate(
CardCreateFromTemplateRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("create-from-template")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member CardCreateFromTemplate :
request : CardCreateFromTemplateRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<CardCreateFromTemplateResponse>>
- request CardCreateFromTemplateRequest
- Request to create card from template.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultCardCreateFromTemplateResponseResponse to the request.