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