Timecards
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}
Request
- Base URLhttps://api.everhour.com
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.