Function: deviceType.GetOne
Returns a single DeviceType Object identified by the given id.
Syntax
{
"method": "deviceType.GetOne",
"params": {
"id": "...",
"mode": "...",
"include": "...",
"select": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<DeviceType> GetOne( AdvGuid id
std::optional<AdvString> mode = std::nullopt,
std::optional<AdvString> include = std::nullopt,
std::optional<std::vector<AdvString>> select = std::nullopt );public Task<DeviceType> GetOneAsync(Guid id, DataMode? mode = null, DataMode? include = null, CancellationToken ct = default);getOne(id: string, mode?: DataMode | undefined, include?: DataMode | undefined): Promise<DeviceType>;Parameters
id : guid
The DeviceType’s id.
mode : string (DataMode) optional
View of the object to return: raw or effective. Default is effective.
include : string (DataMode) optional
Adds the other view to the result; only values that differ are added (under @meta.overlay).
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.