hris/timeoffbalances
Retrieve Time off Balances
Retrieve Time off Balances from any connected Hris software
get/hris/timeoffbalances/{id}
Path parameters
idstring required
id of the timeoffbalance you want to retrieve.
Query parameters
remote_databoolean
Set to true to include data from the original Hris software.
Headers
x-connection-tokenstring required
The connection token
Response
Example response
{
"balance": 80,
"employee_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"used": 40,
"policy_type": "VACATION",
"field_mappings": {
"custom_field_1": "value1",
"custom_field_2": "value2"
},
"id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"remote_id": "timeoff_balance_1234",
"remote_data": {
"raw_data": {
"additional_field": "some value"
}
},
"remote_created_at": "2024-06-15T12:00:00Z",
"created_at": "2024-06-15T12:00:00Z",
"modified_at": "2024-06-15T12:00:00Z"
}