Skip to main content

Attach location to holiday

POST 

/api/holidays/{holiday_id}/locations/{location_id}

This endpoint allows you to attach a location to a holiday.

Required permissions:

  • settings.company: allows to manage location holidays.

Here the dedicated support page.

Request

Path Parameters

    holiday_id stringrequired

    Possible values: Value must match regular expression [0-9]+

    The ID of the holiday to attach the location to

    location_id stringrequired

    Possible values: Value must match regular expression [0-9]+

    The ID of the location to attach to the holiday

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Responses

Location successfully attached to holiday

Loading...