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