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 HelligdagDtoName | Description | Type | Additional information |
---|---|---|---|
date | date |
None. |
|
name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "date": "2024-04-27T01:59:12.7850286+02:00", "name": "sample string 2" }, { "date": "2024-04-27T01:59:12.7850286+02:00", "name": "sample string 2" } ]
text/html
Sample:
[{"date":"2024-04-27T01:59:12.7850286+02:00","name":"sample string 2"},{"date":"2024-04-27T01:59:12.7850286+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>2024-04-27T01:59:12.7850286+02:00</date> <name>sample string 2</name> </HelligdagDto> <HelligdagDto> <date>2024-04-27T01:59:12.7850286+02:00</date> <name>sample string 2</name> </HelligdagDto> </ArrayOfHelligdagDto>