Example Returns the public holidays from a given year and country.
<div>
Request
<div>
<div>
<strong>GET</strong> /PublicHolidays/{Year}/{CountryCode}
</div>
<table>
<thead>
<tr>
<th>Parameters</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Year</td>
<td>2017</td>
</tr>
<tr>
<td>CountryCode</td>
<td>AT</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
Response
<div>
<h6>Model</h6>
<table>
<tbody>
<tr>
<th>date</th>
<td>The date</td>
</tr>
<tr>
<th>localName</th>
<td>Local name</td>
</tr>
<tr>
<th>name</th>
<td>English name</td>
</tr>
<tr>
<th>countryCode</th>
<td>ISO 3166-1 alpha-2</td>
</tr>
<tr>
<th>fixed</th>
<td>Is this public holiday every year on the same date</td>
</tr>
<tr>
<th>global</th>
<td>Is this public holiday in every county (federal state)</td>
</tr>
<tr>
<th>counties</th>
<td>ISO-3166-2 - Federal states</td>
</tr>
<tr>
<th>launchYear</th>
<td>The launch year of the public holiday</td>
</tr>
</tbody>
</table>
</div>
<pre>[
{
“date”:“2017-01-01”,
“localName”:“Neujahr”,
“name”:“New Year’s Day”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:1967,
“type”:“Public”
},
{
“date”:“2017-01-06”,
“localName”:“Heilige Drei Könige”,
“name”:“Epiphany”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-04-17”,
“localName”:“Ostermontag”,
“name”:“Easter Monday”,
“countryCode”:“AT”,
“fixed”:false,
“global”:true,
“counties”:null,
“launchYear”:1642,
“type”:“Public”
},
{
“date”:“2017-05-01”,
“localName”:“Staatsfeiertag”,
“name”:“National Holiday”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:1955,
“type”:“Public”
},
{
“date”:“2017-05-25”,
“localName”:“Christi Himmelfahrt”,
“name”:“Ascension Day”,
“countryCode”:“AT”,
“fixed”:false,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-06-05”,
“localName”:“Pfingstmontag”,
“name”:“Whit Monday”,
“countryCode”:“AT”,
“fixed”:false,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-06-15”,
“localName”:“Fronleichnam”,
“name”:“Corpus Christi”,
“countryCode”:“AT”,
“fixed”:false,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-08-15”,
“localName”:“Maria Himmelfahrt”,
“name”:“Assumption Day”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-10-26”,
“localName”:“Staatsfeiertag”,
“name”:“National Holiday”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-11-01”,
“localName”:“Allerheiligen”,
“name”:“All Saints’ Day”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-12-08”,
“localName”:“Mariä Empfängnis”,
“name”:“Immaculate Conception”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-12-25”,
“localName”:“Weihnachten”,
“name”:“Christmas Day”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
},
{
“date”:“2017-12-26”,
“localName”:“Stefanitag”,
“name”:“St. Stephen’s Day”,
“countryCode”:“AT”,
“fixed”:true,
“global”:true,
“counties”:null,
“launchYear”:null,
“type”:“Public”
}
]</pre>
</div>