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