Sets the holiday leave settings for the business

Request

PUT https://api.nzpayroll.co.nz/api/v2/business/{businessId}/holidayleavesettings

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete BusinessHolidayLeaveSettingsModel resource, containing the following writable properties:

{
    "alternativeHolidayLeaveCategoryId": "int32",
    "annualHolidayLeaveCategoryId": "int32",
    "defaultIrregularWorkPatternPeriod": "int32",
    "leaveWithoutPayLeaveCategoryId": "int32",
    "use12MonthsForMonthlyEmployeesDailyRateCalc": "boolean"
}

Properties

Name Type Description
alternativeHolidayLeaveCategoryId int32 Nullable
annualHolidayLeaveCategoryId int32 Nullable
defaultIrregularWorkPatternPeriod int32 Int32
leaveWithoutPayLeaveCategoryId int32 Nullable
use12MonthsForMonthlyEmployeesDailyRateCalc boolean Boolean

Response

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

Status code Description Resource
200 OK

OK

NzLeaveAllowanceModel