Function: datapointpattern.Update

Updates a DatapointPattern with data from the provided Object.

Syntax

{
	"method": "datapointpattern.Update",
	"params": {
		"object": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> Update( DatapointPattern object );
public Task<bool> UpdateAsync(DatapointPattern @object, CancellationToken ct = default);
update(object: DatapointPattern): Promise<boolean>;

Parameters

object : DatapointPattern

DatapointPattern to update

Result : bool

True if successful.

Remarks

This method requires API write access.

Validation

  • Id must be set and a Datapoint pattern with that id must exist before calling this function
  • Order must be a non-empty, valid sorting string, i.e. consist of all upper-case letters and not end with ‘A’