Description HTTP Request
Get Leave Requests for Employee
GET /api/v2/business/{businessId}/employee/{employeeId}/leaverequest
Create Leave Request
POST /api/v2/business/{businessId}/employee/{employeeId}/leaverequest
Get Leave Request by ID
GET /api/v2/business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}
Update Leave Request
PUT /api/v2/business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}
Delete Leave Request
DELETE /api/v2/business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}
Approve Leave Request
POST /api/v2/business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}/approve
List Leave Requests
GET /api/v2/business/{businessId}/leaverequest
Estimate Leave Hours
GET /api/v2/business/{businessId}/employee/{employeeId}/leaverequest/estimate
Decline Leave Request
POST /api/v2/business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}/decline