SettingsUnitsUiControllerGetUIUnitRecords - метод
Retrieves a collection of settings unit record for specified category and unit names.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[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
)
<HttpGetAttribute("units/category/{category}")>
<ProducesResponseTypeAttribute(200)>
<ProducesAttribute("application/json", New String() { ... })>
Public Function GetUIUnitRecords (
<FromRouteAttribute> category As String,
<FromBodyAttribute> unitNames As List(Of String),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of SettingsUnitRecord)))
public:
[HttpGetAttribute(L"units/category/{category}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
Task<ActionResult<List<SettingsUnitRecord^>^>^>^ GetUIUnitRecords(
[FromRouteAttribute] String^ category,
[FromBodyAttribute] List<String^>^ unitNames,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("units/category/{category}")>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
member GetUIUnitRecords :
[<FromRouteAttribute>] category : string *
[<FromBodyAttribute>] unitNames : List<string> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<SettingsUnitRecord>>>
- 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.
TaskActionResultListSettingsUnitRecordA collection of objects.