Request

GET https://api.nzpayroll.co.nz/api/v2/business/{businessId}/report/shiftswapping

Path parameters

Parameter name Value Description Additional
businessId string Required

Query parameters

Parameter name Value Description Additional
request.fromEmployeeId int32
request.toEmployeeId int32
request.includeCosts boolean
request.statuses array of string, multiple occurances

Possible values are:

  • Created
  • Cancelled
  • Accepted
  • Declined
  • AwaitingManagerApproval
  • ApprovedByManager
  • RejectedByManager
request.fromDate date-time
request.toDate date-time
request.locationId int32
request.employingEntityId int32

Response

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

Status code Description Resource
200 OK

OK

ShiftSwappingReportExportModel