Function: datapoint.ExecuteCommand
Executes a command.
Syntax
{
"method": "datapoint.ExecuteCommand",
"params": {
"id": "...",
"commandId": "...",
"props": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> ExecuteCommand( AdvGuid id, AdvString commandId, AdvObject props );public Task<bool> ExecuteCommandAsync(Guid id,
string commandId,
IDictionary<string,
object?> props,
CancellationToken ct = default);executeCommand(id: string, commandId: string, props: Map<string, Object>): Promise<boolean>;Parameters
id : guid
Id of the Datapoint to execute the command for.
commandId : string
Id of the command to execute.
props : value{}
Command dependent parameters.
Result : bool
True if successful.
Remarks
This method requires API control access.