ViewsControllerPostImport - метод

Import views, creating, deleting ones and/or modifying existent. Method is available for administrators only.

Flag ImportRoles can be set to false to skip any access modifications to new or existent views.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("import")]
[DisableRequestSizeLimitAttribute]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PostImport(
	[FromBodyAttribute] PlainImportTessaViewRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  PlainImportTessaViewRequest
Request to import the views.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResult
204 (No Content).

См. также