Magidoc

createTimer
Mutation

Create a new timer, optionally associated with an action

Access: Requires user to be logged in and have access to the workspace. If actionId is provided, the action must belong to the same workspace.

Arguments

#

workspaceId

ID !
Non-null

Workspace ID the timer belongs to

actionId

Action ID to associate the timer with (optional)

target

Target type for the timer (ACTION or TIMESHEET)

projectId

Project ID for timesheet targets

timerStatus

Initial status for the timer (paused or running). Defaults to paused.

Response

#

Returns Timer !.

Example

#