Skip to main content

Update a holiday

PATCH 

/api/holidays/:id

  • settings.company: allows to update resources.

Here the dedicated support page.

Request

Path Parameters

    id integerrequired

    The ID of the holiday to update

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Body

    name string

    Possible values: <= 255 characters

    The holiday name

    repeating boolean

    Is repeating holiday

    exact_date date

    Holiday date. This follows the YYYY-MM-DD format

    repeating_day integer

    Possible values: >= 1 and <= 31

    Holiday repeating day

    repeating_month integer

    Possible values: >= 1 and <= 12

    Holiday repeating month

Responses

Returns the holiday updated.

Schema

    id integerrequired

    Possible values: >= 1

    created_at date-timerequired
    updated_at date-timerequired
    name stringrequired

    Possible values: <= 255 characters

    The holiday name

    repeating booleanrequired

    Is repeating holiday

    exact_date date

    Holiday date. This follows the YYYY-MM-DD format

    repeating_day integer

    Possible values: >= 1 and <= 31

    Holiday repeating day

    repeating_month integer

    Possible values: >= 1 and <= 12

    Holiday repeating month

Loading...