ViewsControllerPostGetData - метод

Query the view and get its results. View has to be accessible for current user.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpPostAttribute("get-data")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(typeof(TessaViewResultSpec), 200)]
public Task<ActionResult<ITessaViewResult>> PostGetData(
	[FromBodyAttribute] TessaViewRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  TessaViewRequest
Request to query the view.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultITessaViewResult
Results of querying the view.

См. также