v1

latestOpenAPI 3.1.02026-07-2421872196.9 KB
Time

Create an overtime request

Creates an overtime request for an employee.

post/time/overtime_requests

Request body

employee_idinteger required

The ID of the employee to create the overtime request for.

datestring date required

The date of the overtime.

starts_atstring required

Start time of the overtime period.

ends_atstring required

End time of the overtime period.

commentstring required

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

Created

Example response

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