Service: Timer

Reading and editing the timers

Functions

ResultName / ParamsComment
TimerGetResulttimer.GetReturns a filtered list of Timer Objects.
modestring(Optional) View of the objects to return: raw or effective. Default is effective. See DataMode.
includestring(Optional) Adds the other view to the result; only values that differ are added (under @meta.overlay). See DataMode.
filterDataFilter(Optional) Filter definition which determines the result set.
sortDataSortItem[](Optional) Sorting definition as a list of properties with order.
offsetint(Optional) Offset of the first Object in the result set that should be returned. Used for direct pagination.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
selectstring[](Optional) List of properties that should be contained in the result objects.
TimerGetResulttimer.GetNextReturns a filtered list of Timer Objects as a follow up to a previous Get call.
contextstringThe context received within the last get result. Mandatory for subsequent get calls with pagination.
scrollint(Optional) Scrolls through the result set with 'Next' or 'Prev'. Used for pagination. See PaginationScroll.
offsetint(Optional) Offset of the first Object in the result set that should be returned. Used for direct pagination.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
Timertimer.GetOneReturns a single Timer Object identified by the given id.
idguidThe Timer's id.
modestring(Optional) View of the object to return: raw or effective. Default is effective. See DataMode.
includestring(Optional) Adds the other view to the result; only values that differ are added (under @meta.overlay). See DataMode.
selectstring[](Optional) List of properties that should be contained in the result object.
guidtimer.CreateCreates 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.
objectTimerRawThe Timer to create.
booltimer.UpdateUpdates a Timer with data from the provided Object.
idguidId of the Timer to update.
objectTimerRawTimer to update
booltimer.SetSets specific properties of a Timer Object.
idguidId of the Timer to modify.
propsvalue{}(Key: SymbolPath) List of properties that should be set. Property paths may be used as ids to address any partial aspect of the Object.
booltimer.DeleteDeletes a Timer Object. Returns true if successfully deleted or if no such Object existed to begin with.
idguidId of the Timer to delete.
booltimer.BulkModifyPerforms a bulk of changes at once.
createTimerRaw[](Optional) List of Timer Objects to create.
updateTimerRaw[](Optional) List of Timer Objects to update.
setObjectAspect[](Optional) List of Timer Object properties to set.
deleteguid[](Optional) List of Timer ids to delete.

Notifications

Name / ParamsComment
timer.CreatedNotifies about new Timer Objects.
objectsTimer[]Newly created Timer Objects.
timer.UpdatedNotifies about updated Timer Objects.
objectsTimer[]Changed Timer Objects.
timer.DeletedNotifies about deleted Timer Objects.
idsguid[]Ids of the deleted Timer Objects.

Objects

Timer

This object extends TimerRaw.

Property Type Description
EditTime time (Readonly, Not in default set)
EditUser string (Readonly, Not in default set)

TimerGetResult

Property Type Description
Objects Timer[] Array of Objects.
Pagination Pagination Describes the result set, if not all Objects were returned.

TimerRaw

Property Type Description
Id guid (Readonly)
Name string Timer name.
Duration int Duration of the timer in total seconds.
Flags int Enable or disable explicit stop of timer by the user. See CanStopExplicitly.
HintSpan int Remaining time after which the hint status is activated.
HintSound string Sound file to play when time for the hint is reached (Path or FileId).
HintScript string Script to execute when time for the hint is reached (Path or FileId).
WarningSpan int Remaining time after which the warning status is activated.
WarningSound string Sound file to play when time for the warning is reached (Path or FileId).
WarningScript string Script to execute when time for the warning is reached (Path or FileId).
EndSound string Sound file to play when timer reached end time (Path or FileId).
EndScript string Script to execute when timer reached end time (Path or FileId).

Enums

CanStopExplicitly

Name Value Description
CanNotStop 0 Timer can not be explicitly stopped.
CanStop 1 Timer can be explicitly stopped.
Last modified September 25, 2026