Estimates the leave Units required for a leave request between fromDate and toDate.
GET https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/leaverequest/estimate
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | int32 | Required | |
employeeId | string | Required |
Parameter name | Value | Description | Additional |
---|---|---|---|
fromDate | date-time | Required | |
toDate | date-time | Required | |
leaveCategoryId | int32 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
UnitLeaveEstimateModel |
Powered by DapperDox