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