Lists all the leave requests for this manager.

Request

GET https://api.yourpayroll.com.au/api/v2/business/{businessId}/manager/leaverequest

Path parameters

Parameter name Value Description Additional
businessId string Required

Query parameters

Parameter name Value Description Additional
filter.status string

Possible values are:

  • Approved
  • Pending
  • Rejected
  • Cancelled
filter.fromDate date-time
filter.toDate date-time
filter.leaveCategoryId int32
filter.locationId int32
filter.employeeId int32
filter.groupBy string

Possible values are:

  • Employee
  • LeaveType
filter.restrictOverlappingLeave boolean

Response

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

Status code Description Resource
200 OK

OK

ManagerLeaveRequestModel