Service: Timer

Reading and editing the timers

Functions

ResultName / ParamsComment
GetResulttimer.GetReturns a filtered list of Timer Objects.
filterstring(Optional) Filter expression which determines the result set.
selectstring[](Optional) List of properties that should be contained in the result objects.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
GetResulttimer.GetReturns 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.
scrollintScrolls through the result set with 'Next' or 'Prev'. Used for pagination. See EnumPaginationScroll.
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.
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.
objectTimerThe Timer to create.
booltimer.UpdateUpdates a Timer with data from the provided Object.
objectTimerTimer to update
booltimer.SetSets specific properties of a Timer Object.
idguidId of the Timer to modify.
propsvalue{}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.
createTimer[](Optional) List of Timer Objects to create.
updateTimer[](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 ≥wg 0.4.7

Property Type Description
Id guid (Unique, Readonly)
Name string (Localized) Timer name.
Duration int Duration of the timer in total seconds.
Flags int Enable or disable explicit stop of timer by the user. See EnumCanStopExplicitly.
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).
EditTime time (Readonly, Not in default set)
EditUser string (Readonly, Not in default set)

Enums

EnumCanStopExplicitly ≥wg 0.4.7

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