ImportCardsControllerPostCreate - метод

Create an import card.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpPostAttribute("new")]
[ConsumesAttribute("multipart/form-data", new string[] { ... })]
[DisableRequestSizeLimitAttribute]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CreateCardImportResponse>> PostCreate(
	[FromFormAttribute] ImportCardsControllerCardImportFilesCreateRequest formRequest,
	IEnumerable<IFormFile> files,
	CancellationToken cancellationToken = default
)

Параметры

formRequest  ImportCardsControllerCardImportFilesCreateRequest
Request to create a card import containing file headers.
files  IEnumerableIFormFile
File contents.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultCreateCardImportResponse
A response to a request to create a card import, containing the import ID and the list of cards to be imported.

См. также