== HOLIDAYS

The Holidays resource is used to list, create, and update holidays.

=== Retrieve a holiday

A `GET` request will retrieve the details of a holiday.

==== Response fields

include::{snippets}/holidays-get-example/response-fields.adoc[]

==== Example request

include::{snippets}/holidays-get-example/http-request.adoc[]

==== Example response

include::{snippets}/holidays-get-example/http-response.adoc[]

=== Create a holiday

A `POST` request will create a new holiday.

==== Request fields

include::{snippets}/holidays-create-example/request-fields.adoc[]

==== Response fields

include::{snippets}/holidays-create-example/response-fields.adoc[]

==== Example request

include::{snippets}/holidays-create-example/http-request.adoc[]

==== Example response

include::{snippets}/holidays-create-example/http-response.adoc[]

=== Update a holiday

A `PUT` request will update the details of a holiday.

==== Request fields

include::{snippets}/holidays-update-example/request-fields.adoc[]

==== Response fields

include::{snippets}/holidays-update-example/response-fields.adoc[]

==== Example request

include::{snippets}/holidays-update-example/http-request.adoc[]

==== Example response

include::{snippets}/holidays-update-example/http-response.adoc[]