Function: datapoint.Create

Creates the Datapoint in the system and returns the id of the Datapoint. The Datapoint must not have an id. If an id is set, the creation is rejected and an empty id is returned.

Syntax

{
	"method": "datapoint.Create",
	"params": {
		"object": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<AdvGuid> Create( Datapoint object );
public Task<Guid> CreateAsync(Datapoint @object, CancellationToken ct = default);
create(object: Datapoint): Promise<string>;

Parameters

object : Datapoint

The Datapoint to create.

Result : guid

Id of the newly created category.

Remarks

This method requires API write access.