Get a list of imported work time and vacation balances for the specified user.
{
"collection": [
{
"id": 2,
"user_id": 819,
"balance_type": "vacation",
"date": "2025-03-31",
"value": 5.0,
"units": "days",
"creator_id": 42,
"creator_name": "John Smith"
},
{
"id": 1,
"user_id": 819,
"balance_type": "work_time",
"date": "2025-03-15",
"value": 75,
"units": "minutes",
"creator_id": 42,
"creator_name": "John Smith"
}
],
"pagination": {
"current_page": 1,
"total_pages": 1,
"total_count": 2
}
}
| Param name | Description |
|---|---|
|
user_id
required |
User ID. Validations:
|
|
balance_type
optional |
Filter time entries by the specified balance type. Validations:
|
|
page
optional |
Page number. Validations:
|
|
per_page
optional |
Number of records per page. Default: 50. Validations:
|
|
sort_by
optional |
Sort by field. Default: Validations:
|
|
order
optional |
Sorting order (descending or ascending). Default: Validations:
|