# Holidays

Holidays are the company-wide days off that have been added to a user's Kantata OX account.

## Fetching a list of Holidays

 - [GET /holidays](https://developer.kantata.com/kantata/specification/holidays/get-holidays.md): This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the holidays top-level JSON key.
Please see our Response Format section for more information.

## Creating a new Holiday

 - [POST /holidays](https://developer.kantata.com/kantata/specification/holidays/create-holiday.md): This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the holidays top-level JSON key.
Please see our Response Format section for more information.

## Fetching a single Holiday

 - [GET /holidays/{id}](https://developer.kantata.com/kantata/specification/holidays/get-holiday.md): This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the holidays top-level JSON key.
Please see our Response Format section for more information.

## Updating an existing Holiday

 - [PUT /holidays/{id}](https://developer.kantata.com/kantata/specification/holidays/update-holiday.md): This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the holidays top-level JSON key.
Please see our Response Format section for more information.

## Deleting an existing Holiday

 - [DELETE /holidays/{id}](https://developer.kantata.com/kantata/specification/holidays/delete-holiday.md): The response will contain no content and an HTTP 204 status code if the request was
successful, or a standard Kantata OX error message explaining why the object could not be deleted.

