Lists all of the unavailabilities for this business, with optional filters.

Request

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

Path parameters

Parameter name Value Description Additional
businessId string Required

Query parameters

Parameter name Value Description Additional
filter.fromDate date-time
filter.toDate date-time
filter.employeeId int32
filter.defaultLocationId int32

Response

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

Status code Description Resource
200 OK

OK

UnavailabilityModel