Leaves
List leave types
GET
page?integerWhich page of results to return. Defaults to 1.
Format
int32Range
1 <= valueA page of leave types.
application/json- response
data*array<>metadata*curl -X GET 'https://app.peopleforce.io/api/public/v3/leave_types'Example Response
{ "data": [ { "id": 0, "name": "string", "unit": "hours", "hex_color": "string", "fa_class": "string", "created_at": "2019-08-24T14:15:22Z" } ], "metadata": { "pagination": { "page": 0, "pages": 0, "count": 0, "items": 0 } }}