CardsControllerPostBundleInsert - метод
Import multiple cards as a bundle. Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("import-bundle")]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardBundledImportResponse>> PostBundleInsert(
CardBundledImportRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("import-bundle")>
<SessionMethodAttribute(UserAccessLevel.Administrator)>
<DisableRequestSizeLimitAttribute>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostBundleInsert (
request As CardBundledImportRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of CardBundledImportResponse))
public:
[HttpPostAttribute(L"import-bundle")]
[SessionMethodAttribute(UserAccessLevel::Administrator)]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<CardBundledImportResponse^>^>^ PostBundleInsert(
CardBundledImportRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("import-bundle")>]
[<SessionMethodAttribute(UserAccessLevel.Administrator)>]
[<DisableRequestSizeLimitAttribute>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostBundleInsert :
request : CardBundledImportRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<CardBundledImportResponse>>
- request CardBundledImportRequest
- Importing request.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultCardBundledImportResponseResponse to an importing request.