Function: devicetype.GetOne
Returns a single DeviceType Object identified by the given id.
Syntax
{
"method": "devicetype.GetOne",
"params": {
"id": "...",
"select": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<DeviceType> GetOne( AdvGuid id, std::optional<std::vector<AdvString>> select = std::nullopt );public Task<DeviceType> GetOneAsync(Guid id, CancellationToken ct = default);getOne(id: string): Promise<DeviceType>;Parameters
id : guid
The DeviceType’s id.
select : string[] optional
List of properties that should be contained in the result object.
Result : DeviceType
Matching DeviceType Object.
Remarks
This method requires API read access.