Timer

Change the running timer

View as Markdown

PATCHhttps://paysuitett.com/api/v1/timer

Changes the running timer's description, billable flag or project without stopping it.

Access. Any key; always its holder's own timer.

Body

A JSON object. Every field is optional.

entry_idstring · uuid
Which running timer. Optional with one timer running; required when several are running (people allowed simultaneous timers).
descriptionstring
What the work is, up to 2,000 characters.
billableboolean
Billable to the client. Defaults to true.
task_idstring · uuid
File the time under this task. Takes precedence over the fields below.
project_idstring · uuid
The project, by ID. With `task` (a task name) or, for a project with one task, alone.
projectstring
The project, by its exact name (ignoring case). A name nobody has yet is added on the spot only when `client` is sent too, so a typo doesn't make a project.
clientstring
The client, by name. Only used with `project` to add a new project (and the client, if new).
taskstring
A task name in the project: found, or added if it doesn't exist. Not needed when the project has one task.

Response

200 with a JSON body, as in the example.