PeopleForce
Employees

Deprecated

Company API v1 is deprecated and will be removed in a future release. Migrate to a newer version — v4 is the latest. Use the version switcher in the header.

List of employee leave types

GET
/api/public/v1/employees/{employee_id}/leave_types

Path Parameters

employee_id*integer

Response Body

application/json

curl -X GET "https://example.com/api/public/v1/employees/0/leave_types"
{  "data": [    {      "id": 0,      "effective_on": "string",      "balance": 0.1,      "leave_type": {        "id": 0,        "name": "string"      },      "leave_type_policy": {        "id": 0,        "name": "string"      },      "created_at": "string",      "updated_at": "string"    }  ]}