get https://api.bamboohr.com/api/gateway.php//v1/meta/time_off/policies/
This endpoint gets a list of time off policies.
Sample Response
[
{
"id": 1,
"timeOffTypeId": 4,
"name": "Vacation",
"effectiveDate": "2012-02-01",
"type": "accruing"
},
{
"id": 2,
"timeOffTypeId": 10,
"name": "Sick Time",
"effectiveDate": "2012-02-01",
"type": "manual"
},
{
"id": 3,
"timeOffTypeId": 10,
"name": "Executive Sick Time",
"effectiveDate": "2012-02-01",
"type": "discretionary"
}
]
<timeOffPolicies>
<timeOffPolicy id="1">
<timeOffTypeId>4</timeOffTypeId>
<name>Vacation</name>
<effectiveDate>2012-02-01</effectiveDate>
<type>accruing</type>
</timeOffPolicy>
<timeOffPolicy id="2">
<timeOffTypeId>10</timeOffTypeId>
<name>Sick Time</name>
<effectiveDate>2012-02-01</effectiveDate>
<type>manual</type>
</timeOffPolicy>
<timeOffPolicy id="3">
<timeOffTypeId>10</timeOffTypeId>
<name>Executive Sick Time</name>
<effectiveDate>2012-02-01</effectiveDate>
<type>discretionary</type>
</timeOffPolicy>
</timeOffPolicies>