Function: timer.Create

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

Syntax

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

Parameters

object : TimerRaw

The Timer to create.

Result : guid

Id of the newly created Timer.

Remarks

This method requires API write access.