Get the latest imported time balance for the specified user.

Examples

{}
{
  "id": 2,
  "user_id": 819,
  "balance_type": "vacation",
  "date": "2025-03-31",
  "value": 5.0,
  "units": "days",
  "creator_id": 42,
  "creator_name": "John Smith"
}

Params

Param name Description
user_id
required

User ID.

Validations:

  • Must be a Integer

balance_type
optional

Get the latest balance of the specified balance type.

Validations:

  • Must be one of: work_time, vacation.