Record a time entry
POST/timeslots
A closed entry. With object_id the members are inherited from the task. When the
time_intervals plugin is active the worked time is rounded up to the next interval
(GET /me → preferences.time_interval_minutes): send the raw minutes and read the
rounded worked_time back.
Request
Responses
- 200
- 201
- 401
- 403
- 404
- 409
- 422
uuid already existed: the existing entry.
Created
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.
Invalid input. details maps each field to a reason the client can switch on
(required, invalid, not_found, conflict, unsupported, …; see each operation);
_: rejected is a refusal by EVX Software's own save, with its message.