Retrieves the holiday with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

The holiday id.

globally unique identifier

Required

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult containing the holiday, or 404 Not Found if it doesn't exist.

holiday
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
holiday_date

Date of the holiday.

date
db_country_code

ISO code of the country this holiday applies to.

string
name

Name of the holiday.

string
is_custom

Indicates this is a custom/organization-defined holiday rather than an official public holiday.

boolean
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "ef43352a-f46f-49a9-beae-1b76b58013bf",
  "holiday_date": "2026-11-12T14:28:59.6354302+00:00",
  "db_country_code": "sample string 3",
  "name": "sample string 4",
  "is_custom": true,
  "modified_dateutc": "2026-11-12T14:28:59.6354302+00:00"
}

application/xml, text/xml

Sample:
<holiday xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <db_country_code>sample string 3</db_country_code>
  <holiday_date>2026-11-12T14:28:59.635Z</holiday_date>
  <id>ef43352a-f46f-49a9-beae-1b76b58013bf</id>
  <is_custom>true</is_custom>
  <modified_dateutc>2026-11-12T14:28:59.635Z</modified_dateutc>
  <name>sample string 4</name>
</holiday>