Returns all leave requests for this employee, optionally filtered by OData parameters.

This operation supports OData queries (only $filter, $orderby, $top, $skip).

Request

GET https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/leaverequest

Path parameters

Parameter name Value Description Additional
businessId string Required
employeeId string Required

Request headers

Parameter name Value Description Additional
query

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

UkUnitLeaveRequestResponseModel