Skip to main content
GET
/
reports#getTimeOffPolicyTypes
getTimeOffPolicyTypes
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getTimeOffPolicyTypes' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getTimeOffPolicyTypes"
}
'
{
  "timeOffPolicyTypes": [
    "Paid Time Off",
    "Sick Leave",
    "Vacation",
    "Personal Days"
  ]
}

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

Response

200 - application/json
timeOffPolicyTypes
string[]
required