We are having an issue with our website which is based on finding the correct flight so that we can offer our services to the client. The problem is that for seasonal flights, for example LY 216 or LY 342, which do not run on a regular basis, and the XML integration has no access to history so we cannot locate the Airport and scheduled time.
The integration works perfectly for all other flights, so there is no issue there. Can anyone help with ideas on how to overcome this? Our site is tal-limousine.com, if you try a search there you’ll see what our problem is.
You should use a narrower window around the clients trip, of less than 3 weeks as the error message says. Or if you need months, make multiple queries of 3 weeks at a time.
That last query example is from August 11 to December 30 which exceeds the 3 week span you can query at one time. If you want to look out to December then you would need to limit that range to something like the following:
However ELY doesn’t appear to have any flights scheduled over that period. I checked our database and we don’t have upcoming flights yet for the rest of 2017 or 2018 for that airline/flight combination. Let’s assume for a moment that there were however, you’d just need to continue to query over 3 week windows until you found the data you wanted.