GET api/Helligdage/{year}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| year | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HelligdagDto| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date |
None. |
|
| name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"date": "2025-12-12T23:51:28.0210074+01:00",
"name": "sample string 2"
},
{
"date": "2025-12-12T23:51:28.0210074+01:00",
"name": "sample string 2"
}
]
text/html
Sample:
[{"date":"2025-12-12T23:51:28.0210074+01:00","name":"sample string 2"},{"date":"2025-12-12T23:51:28.0210074+01:00","name":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfHelligdagDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Helligdage.Api.DTO">
<HelligdagDto>
<date>2025-12-12T23:51:28.0210074+01:00</date>
<name>sample string 2</name>
</HelligdagDto>
<HelligdagDto>
<date>2025-12-12T23:51:28.0210074+01:00</date>
<name>sample string 2</name>
</HelligdagDto>
</ArrayOfHelligdagDto>