GET api/Holidays
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of HolidayInfoResultName | Description | Type | Additional information |
---|---|---|---|
items | Collection of HolidayInfo |
None. |
Response Formats
application/json, text/json
Sample:
[ { "items": [ { "current": "2024-12-22T21:02:47.2642066-04:00", "events": [ { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" }, { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" } ] }, { "current": "2024-12-22T21:02:47.2642066-04:00", "events": [ { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" }, { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" } ] } ] }, { "items": [ { "current": "2024-12-22T21:02:47.2642066-04:00", "events": [ { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" }, { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" } ] }, { "current": "2024-12-22T21:02:47.2642066-04:00", "events": [ { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" }, { "date": "2024-12-22T21:02:47.2642066-04:00", "title": "sample string 2", "description": "sample string 3", "action": "sample string 4", "moved": true, "movedTo": "2024-12-22T21:02:47.2642066-04:00" } ] } ] } ]
text/xml
Sample:
<ArrayOfHolidayInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ovi.WebAPI.Models"> <HolidayInfoResult> <items> <HolidayInfo> <current>2024-12-22T21:02:47.2642066-04:00</current> <events> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> </events> </HolidayInfo> <HolidayInfo> <current>2024-12-22T21:02:47.2642066-04:00</current> <events> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> </events> </HolidayInfo> </items> </HolidayInfoResult> <HolidayInfoResult> <items> <HolidayInfo> <current>2024-12-22T21:02:47.2642066-04:00</current> <events> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> </events> </HolidayInfo> <HolidayInfo> <current>2024-12-22T21:02:47.2642066-04:00</current> <events> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> <HolidayEvent> <action>sample string 4</action> <date>2024-12-22T21:02:47.2642066-04:00</date> <description>sample string 3</description> <moved>true</moved> <movedTo>2024-12-22T21:02:47.2642066-04:00</movedTo> <title>sample string 2</title> </HolidayEvent> </events> </HolidayInfo> </items> </HolidayInfoResult> </ArrayOfHolidayInfoResult>