Stop the timer
POST/timeslots/:id/stop
Closes the entry (sets end_time, computes worked_time, recalculates the task's percent). 409 not_running when it is already closed.
Request
Responses
- 200
- 401
- 403
- 404
- 409
The closed entry
Missing, invalid or expired token, or no contact matches it.
Authenticated, but not allowed.
Unknown route, or the resource is missing or in the trash; message names what was
looked for (task, note, payment_receipt, expense…). On an expenses route,
message: "expenses" means the plugin is not active.
The request conflicts with the current state. code says how:
idempotency_key_reuse / request_in_progress (the Idempotency-Key header),
invoiced (an expense or time entry on an invoice cannot change), already_paused,
not_paused, not_running (the timer), deleted.