SettingsUnitsUiControllerGetUIUnitRecord - метод

Retrieves the settings unit record by its name available for current session.

Definition

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

Параметры

unitName  String
The unique settings unit name.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultSettingsUnitRecord
Object that describes the settings unit record.

Исключения

ValidationExceptionThrown when service validation fails.

См. также