GET api/consumer/v1/calendarEvents/holidays/{startDate}/{endDate}
Get all holidays filtered by a range date
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
startDate |
From date, format: YYYY-MM-DD |
date |
Required |
endDate |
To date, format: YYYY-MM-DD |
date |
Required |
Body Parameters
None
Response Information
Resource Description
List of holidays
Collection of HolidayMinDtoName | Description | Type | Additional information |
---|---|---|---|
Day |
Date |
date |
None |
Code |
The short code of the element |
string |
None |
Description |
The description of the element |
string |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "Day": "2024-11-01T16:42:55.7787354+01:00", "Code": "sample string 2", "Description": "sample string 3", "Id": 4 }, { "Day": "2024-11-01T16:42:55.7787354+01:00", "Code": "sample string 2", "Description": "sample string 3", "Id": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfHolidayMinDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <HolidayMinDto> <Id>4</Id> <Code>sample string 2</Code> <Description>sample string 3</Description> <Day>2024-11-01T16:42:55.7787354+01:00</Day> </HolidayMinDto> <HolidayMinDto> <Id>4</Id> <Code>sample string 2</Code> <Description>sample string 3</Description> <Day>2024-11-01T16:42:55.7787354+01:00</Day> </HolidayMinDto> </ArrayOfHolidayMinDto>