v1
latestOpenAPI 3.1.1LicenseRef-Proprietary2026-07-1310179223.1 KBTimecards
Update Timecard
Update (or create, if missing) a user's timecard for a specific date. Suitable for manual edits — clock-in and clock-out have dedicated endpoints.
put/users/{user_id}/timecards/{date}
Path parameters
user_idnumber required
Example:89
User ID
datestring required
Example:2020-10-21
Date
Request body
Example request
{
"clockIn": "09:00",
"clockOut": "18:00",
"breakTime": 3600
}Response
OK
Example response
{
"user": 69,
"clockIn": "09:00",
"clockOut": "18:00",
"breakTime": 3600,
"workTime": 28800,
"history": [
{
"action": "clock-in",
"previousTime": "08:00",
"time": "09:00",
"trigger": "manually"
}
]
}