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.0.4
C#
[HttpPostAttribute("get-models")]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<JsonWorkplaceModel>>> PostGetModels(
	[FromBodyAttribute] PlainGetModelRequest request,
	CancellationToken cancellationToken = default
)

Параметры

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

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

TaskActionResultListJsonWorkplaceModel
Workplaces info.

См. также