Lists all the leave requests for the business.
GET https://api.yourpayroll.co.uk/api/v2/business/{businessId}/leaverequest
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | int32 | Required |
Parameter name | Value | Description | Additional |
---|---|---|---|
filter.status | string |
Possible values are:
|
|
filter.fromDate | date-time | ||
filter.toDate | date-time | ||
filter.leaveCategoryId | int32 | ||
filter.locationId | int32 | ||
filter.employeeId | int32 | ||
filter.groupBy | string |
Possible values are:
|
|
filter.restrictOverlappingLeave | boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
UnitLeaveRequestResponseModel |
Powered by DapperDox