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( DatapointPatternRaw object );
public Task<Guid> CreateAsync(DatapointPatternRaw @object, CancellationToken ct = default);
create(object: DatapointPatternRaw): Promise<string>;

Parameters

object : DatapointPatternRaw

The DatapointPattern to create.

Result : guid

Id of the newly created DatapointPattern.

Remarks

This method requires API write access.