The flight calendar search returns the lowest fares for a range of dates. The range of dates returned is three days either side of the departure and return dates specified in the request.
The search returns paired outbound and return dates, each with the cheapest fare amount found for the combination. The lowest fares found overall (when comparing all pairings) are clearly marked.
Restrictions: A calendar search can only be from one airport/city to another. It is not currently possible to search for multiple IATA codes at once. It is also not possible to perform a one-way calendar search.
The structure of the XML will be:
The structure of the XML will be:
<FlightCalendarSearchRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<DepartureAirportID>1</DepartureAirportID>
<ArrivalAirportID>44</ArrivalAirportID>
<DepartureDate>2015-11-02</DepartureDate>
<Duration>5</Duration>
<GuestConfiguration>
<Adults>2</Adults>
<Children>1</Children>
<Infants>0</Infants>
<ChildAges>
<ChildAge>7</ChildAge>
</ChildAges>
</GuestConfiguration>
</FlightCalendarSearchRequest>
<FlightCalendarSearchResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<DatePairs>
<DatePair>
<FromDate>301015</FromDate>
<ToDate>041115</ToDate>
<MinAmount>408</MinAmount>
<IsLowestFare>false</IsLowestFare>
</DatePair>
<DatePair>
<FromDate>311015</FromDate>
<ToDate>041115</ToDate>
<MinAmount>408</MinAmount>
<IsLowestFare>false</IsLowestFare>
</DatePair>
<DatePair>
<FromDate>011115</FromDate>
<ToDate>041115</ToDate>
<MinAmount>391</MinAmount>
<IsLowestFare>false</IsLowestFare>
</DatePair>
</DatePairs>
</FlightCalendarSearchResponse>