v1

latestOpenAPI 3.1.02026-07-2421872196.9 KB
Time

Create timesheet entry

Create timesheet entry for an employee.

post/time/timesheet_entries

Request body

employee_idinteger required
starts_atinteger required

Start datetime of the shift. Value should be a valid Unix timestamp.

ends_atinteger required

End datetime of the shift, must be on same day as starts_at. Value should be a valid Unix timestamp.

project_idinteger
commentstring

Example request

{
  "starts_at": 1684023481,
  "ends_at": 1684023481
}

Response

OK

Example response

{
  "data": {
    "date": "2024-01-01"
  }
}