Lists all leave requests for this employee, with optional filters

Request

GET https://api.yourpayroll.co.uk/api/v2/ess/{employeeId}/leave

Path parameters

Parameter name Value Description Additional
employeeId string Required

Query parameters

Parameter name Value Description Additional
filter.showOtherEmployees boolean
filter.approvedOnly boolean
filter.fromDate date-time
filter.toDate date-time

Response

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

Status code Description Resource
200 OK

OK

EssLeaveRequestModel