get https://api.bamboohr.com/api/gateway.php//v1/time_tracking/timesheet_entries
Get all timesheet entries for a given period of time.
Example Response
[
{
"id": 7,
"employeeId": 40344,
"type": "clock",
"date": "2023-01-01",
"start": "2023-01-01T16:00:00+00:00",
"end": "2023-01-02T00:00:00+00:00",
"timezone": "America/Vancouver",
"hours": 8,
"note": "Note details appear here.",
"projectInfo": {
"project": {
"id": 1,
"name": "Project 1"
},
"task": {
"id": 1,
"name": "Task 1"
}
},
"approvedAt": "2023-01-14T12:00:00+00:00",
"approved": true
},
{
"id": 34,
"employeeId": 40341,
"type": "hour",
"date": "2023-01-13",
"start": null,
"end": null,
"timezone": null,
"hours": 8,
"note": null,
"projectInfo": null,
"approvedAt": null,
"approved": false
},
]
Notes
- Timesheet entry data is limited to the last 365 days.
- The user associated with the API key must have permission to view timesheets for the requested employees.