SettingsUnitsUiControllerGetUIUnitRecords - метод

Retrieves a collection of settings unit record for specified category and unit names.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpGetAttribute("units/category/{category}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<List<SettingsUnitRecord>>> GetUIUnitRecords(
	[FromRouteAttribute] string category,
	[FromBodyAttribute] List<string> unitNames,
	CancellationToken cancellationToken = default
)

Параметры

category  String
The URL-encoded category name of the settings units. See Name.
unitNames  ListString
A collection of unique settings unit name.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultListSettingsUnitRecord
A collection of objects.

Исключения

ValidationExceptionThrown when service validation fails.

См. также