SettingsUnitsEditorControllerGetUnitRecords - метод

Retrieves a collection of settings unit record available for the current session with specified category and names.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
[HttpGetAttribute("units/c/{category}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<List<SettingsUnitRecord>>> GetUnitRecords(
	[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 inside category.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultListSettingsUnitRecord
A collection of objects.

См. также