GET api/Helligdage/{year}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of HelligdagDto
NameDescriptionTypeAdditional information
date

date

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "date": "2019-10-20T21:41:57.768181+02:00",
    "name": "sample string 2"
  },
  {
    "date": "2019-10-20T21:41:57.768181+02:00",
    "name": "sample string 2"
  }
]

text/html

Sample:
[{"date":"2019-10-20T21:41:57.768181+02:00","name":"sample string 2"},{"date":"2019-10-20T21:41:57.768181+02: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>2019-10-20T21:41:57.768181+02:00</date>
    <name>sample string 2</name>
  </HelligdagDto>
  <HelligdagDto>
    <date>2019-10-20T21:41:57.768181+02:00</date>
    <name>sample string 2</name>
  </HelligdagDto>
</ArrayOfHelligdagDto>