Estimates the number of hours of leave required based on date and leave category.

Request

GET https://api.nzpayroll.co.nz/api/v2/ess/{employeeId}/leave/estimate

Path parameters

Parameter name Value Description Additional
employeeId string Required

Query parameters

Parameter name Value Description Additional
filter.leaveCategoryId int32
filter.fromDate date-time

Required

Required
filter.toDate date-time

Required

Required

Response

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

Status code Description Resource
200 OK

OK

EssLeaveEstimate