Retrieves all the public holidays for a specific year.

Request

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

Path parameters

Parameter name Value Description Additional
businessId string Required

Query parameters

Parameter name Value Description Additional
year int32 Required

Response

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

Status code Description Resource
200 OK

OK

PublicHolidayModel