Function: deviceType.Create

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

Syntax

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

Parameters

object : DeviceTypeRaw

The DeviceType to create.

Result : guid

Id of the newly created DeviceType.

Remarks

This method requires API write access.