WorkplacesControllerPostGetModels - метод

Get requested workplaces info including their attributes, permissions and metadata. It can be used to modify workplaces. 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<JsonWorkplaceModel>>> PostGetModels(
	[FromBodyAttribute] WorkplaceGetRequest request,
	CancellationToken cancellationToken = default
)

Параметры

request  WorkplaceGetRequest
Request to get workplaces info.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultListJsonWorkplaceModel
Workplaces info.

См. также