Function: datapoint.GetCommands

Retrieves a list of possible commands for an Object.

Syntax

{
	"method": "datapoint.GetCommands",
	"params": {
		"id": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<std::vector<Command>> GetCommands( AdvGuid id );
public Task<IList<Command>> GetCommandsAsync(Guid id, CancellationToken ct = default);
getCommands(id: string): Promise<Command[]>;

Parameters

id : guid

Id of the Datapoint to fetch the commands for.

Result : Command[]

List of available commands.

Remarks

This method requires API read access.