Skip to main content
GET
/
reports#getTimeOffBalance
getTimeOffBalance
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getTimeOffBalance' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getTimeOffBalance",
  "companyId": "21DA3F1A-E593-42EE-95F5-A22EDF6382F0",
  "employeeId": "1755E872-9092-4ECE-8386-860531D492D3"
}
'
{
  "timeOffBalances": [
    {
      "timeOffPolicyId": "1BD5AB2B-AEEC-46CD-A93B-D1A68FB90C3A",
      "timeOffPolicyName": "Standard Vacation",
      "assignedHours": 80,
      "usedHours": 46,
      "remainingBalance": 34
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
companyId
string
required
employeeId
string
required

Response

timeOffBalances
object[]
required