Skip to main content

Update Time Entry for Unit

PUT 

/api/repairs/:repair/lines/:line/time-entries/:entry

Edits a time entry, or confirms one the daily timer cap stopped (saving clears is_capped). The labour cost is restated. Send only the fields to change.

Required scope: repairs:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Fields (all optional):

  • started_at (datetime).
  • ended_at (datetime or null).
  • minutes (number or null, > 0, max 1440).
  • note (string or null, max 255).

A running entry can't be edited; stop the timer first.

Authentication: Bearer token with the repairs:write scope.

Request​

Responses​

OK

Response Headers
    Content-Type