get https://api.9spokes.com/companies//connections//leaves
A leave is time-off requested to a company by an employee. Following is the data specification for a leave record that is extracted from HR/Payroll OSPs
Data Schema
Field | Data Type | Description |
---|---|---|
id | string | Unique identifier of the leave request in the platform |
type | string | The leave type, either: |
status | string | The leave status, either: |
start_date | date | Start date of the leave request |
end_date | date | End date of the leave request |
application_url | string | URL to the leave application in the platform |
employee_id | string | Unique identifer of the employee who applied for the leave |
employee_name | string | Name of the employee who applied for the leave |
dates | array of dates | Dates of the leave request |