Get work time stats for a user with a daily breakdown for a given date range.
Stats will include:
allow_paid_overtime; excluded from work_time_balanceactual − paid_overtime − mandatoryPermissions. User's work time balance can be accessed by:
[
{
"date": "2025-03-25",
"actual_worked_time": 900,
"mandatory_working_time": 450,
"absence_time": 0,
"paid_overtime_time": 450,
"work_time_balance": 0,
"is_locked": false
},
{
"date": "2025-03-26",
"actual_worked_time": 0,
"mandatory_working_time": 450,
"absence_time": 0,
"work_time_balance": -450,
"is_locked": true
}
]
| Param name | Description |
|---|---|
|
user_id
optional |
User ID. Default: current user ID. Validations:
|
|
start_date
optional |
Date to start the balance calculations from. Default: date of the user’s first time entry. If start date has not been passed explicitly and user has no time entries, time balance will not be calculated. Validations:
|
|
end_date
optional |
Date to end the balance calculations with, inclusive. Default: today. Validations:
|
|
date_range
optional |
Get stats within the specified date range.Either pass date_range or start/end dates. Date range format: Validations:
|