ViewsControllerPostGetModels - метод

Get requested views info including their attributes, permissions, metadata and SQL structure. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpPostAttribute("get-models")]
[SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<TessaViewModel>>> PostGetModels(
	[FromBodyAttribute] ViewGetRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  ViewGetRequest
Request to get views info.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultListTessaViewModel
Views info.

См. также