post https://api.bamboohr.com/api/gateway.php//v1/time_tracking/clock_entries/store
Add or edit timesheet clock entries.
Example Request
{
"entries": [
{
"employeeId": 10,
"date": "2024-02-01",
"start": "09:00",
"end": "17:00",
"note": "Worked from 9 to 5.",
"projectId": 1,
"taskId": 3
}
]
}
Example Response
[
{
"id": 150,
"employeeId": 10,
"type": "clock",
"date": "2024-02-01",
"start": "2024-02-01T14:00:00+00:00",
"end": "2024-02-02T02:00:00+00:00",
"timezone": "America/Denver",
"hours": 8,
"note": "Worked from 9 to 5.",
"projectInfo": {
"project": {
"id": 1,
"name": "Project A"
},
"task": {
"id": 3,
"name": "Task 1"
}
}
}
]