Updates the public holiday with the specific ID.

Request

PUT https://api.yourpayroll.com.au/api/v2/business/{businessId}/publicholiday/{id}

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId string Required

Request body

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

{
    "date": "date-time",
    "description": "string",
    "id": "int32",
    "isSystem": "boolean",
    "locationIds": [
        "int32"
    ],
    "notAPublicHoliday": "boolean",
    "note": "string",
    "states": [
        "string"
    ]
}

Properties

Name Type
date date-time
description string
id int32
isSystem boolean
locationIds[] array of int32
notAPublicHoliday boolean
note string
states[] array of string

Response

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

Status code Description Resource
200 OK

OK