v1

latestOpenAPI 3.1.02026-07-2421872196.9 KB
Time

Update an overtime request

Update an existing overtime request. Only pending overtime requests can be updated.

put/time/overtime_requests/{id}

Request body

datestring date

The date of the overtime.

starts_atstring

Start time of the overtime period.

ends_atstring

End time of the overtime period.

commentstring

Reason or description for the overtime request.

project_idinteger

Optional project ID to associate with the overtime request.

Example request

{
  "starts_at": "18:00",
  "ends_at": "21:00"
}

Response

OK

Example response

{
  "data": {
    "date": "2024-01-15",
    "starts_at": "18:00",
    "ends_at": "21:00"
  }
}