Function: datapointPattern.GetOne

Returns a single DatapointPattern Object identified by the given id.

Syntax

{
	"method": "datapointPattern.GetOne",
	"params": {
		"id": "...",
		"mode": "...",
		"include": "...",
		"select": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<DatapointPattern> 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<DatapointPattern> GetOneAsync(Guid id,
		DataMode? mode = null,
		DataMode? include = null,
		CancellationToken ct = default);
getOne(id: string, mode?: DataMode | undefined, include?: DataMode | undefined): Promise<DatapointPattern>;

Parameters

id : guid

The DatapointPattern’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 : DatapointPattern

Matching DatapointPattern Object.

Remarks

This method requires API read access.