Skip to main content
GET
/
v1
/
scheduling
/
timesheets
Get timesheets
curl --request GET \
  --url http://localhost:3000/v1/scheduling/timesheets
{
  "timesheets": [
    {
      "id": 123,
      "employee_name": "<string>",
      "employee_id": 123,
      "date": "<string>",
      "start_time": "<string>",
      "end_time": "<string>",
      "total_hours": 123,
      "break_minutes": 123,
      "status": "pending",
      "comment": "<string>",
      "area": "<string>"
    }
  ],
  "deputy_configured": true
}

Query Parameters

days
integer
default:7

Number of days to fetch

Required range: 1 <= x <= 90
Example:

7

Response

Timesheets data

Get timesheets response

timesheets
object[]
required
deputy_configured
enum<boolean>
required
Available options:
true,
false