Function: datapointpattern.Create
Creates the DatapointPattern in the system and returns the id of the DatapointPattern. The DatapointPattern must not have an id. If an id is set, the creation is rejected and an empty id is returned.
Syntax
{
"method": "datapointpattern.Create",
"params": {
"object": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<AdvGuid> Create( DatapointPattern object );public Task<Guid> CreateAsync(DatapointPattern @object, CancellationToken ct = default);create(object: DatapointPattern): Promise<string>;Parameters
object : DatapointPattern
The DatapointPattern to create.
Result : guid
Id of the newly created DatapointPattern.
Remarks
This method requires API write access.
Validation
- Id must not be set
- Order must be a non-empty, valid sorting string, i.e. consist of all upper-case letters and not end with ‘A’