I am using AirlineFlightSchedules.
I have seen that the number of flights to be returned includes only the value of howmany and not of max_size and at most 15 flights back to me.
How I can get a greater number of flights “future”?
thank you very much
Have you already called the SetMaximumResultSize function at least once on your account? That also acts as a hard limit to the number of results returned from any other function and it defaults to 15.
Thank you.
Normally I make calls from asp.net pages using the parameter “max_size”.
As you see, I have also tried to make a call directly from the browser but the answer is to just 15 flights.
flightxml.flightaware.com/json/F … ax_size=50
result:
{“AirlineFlightSchedulesResult”:{“next_offset”:15,“data”:{“ident”:“AZA553”,“actual_ident”:“”,“departuretime”:1384910400,“arrivaltime”:1384931100,“origin”:“USSS”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AZA3921”,“actual_ident”:“ETD385”,“departuretime”:1384910700,“arrivaltime”:1384914600,“origin”:“OOMS”,“destination”:“OMAA”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AZA3039”,“actual_ident”:“AFL1120”,“departuretime”:1384913400,“arrivaltime”:1384923000,“origin”:“UUEE”,“destination”:“URSS”,“aircrafttype”:“A321”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:28,“seats_cabin_coach”:142},{“ident”:“AZA595”,“actual_ident”:“”,“departuretime”:1384913700,“arrivaltime”:1384927800,“origin”:“UUEE”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AFL3204”,“actual_ident”:“AZA595”,“departuretime”:1384913700,“arrivaltime”:1384927800,“origin”:“UUEE”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“Economy: Lunch”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AZA5645”,“actual_ident”:“AFL1284”,“departuretime”:1384913700,“arrivaltime”:1384922100,“origin”:“UUEE”,“destination”:“URKK”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AZA557”,“actual_ident”:“”,“departuretime”:1384914000,“arrivaltime”:1384929900,“origin”:“UDYZ”,“destination”:“LIRF”,“aircrafttype”:“A319”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:138},{“ident”:“MEA2233”,“actual_ident”:“AZA827”,“departuretime”:1384914300,“arrivaltime”:1384927200,“origin”:“OLBA”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AZA5647”,“actual_ident”:“AFL1308”,“departuretime”:1384914300,“arrivaltime”:1384920600,“origin”:“UUEE”,“destination”:“UWWW”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AZA827”,“actual_ident”:“”,“departuretime”:1384914300,“arrivaltime”:1384927200,“origin”:“OLBA”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AZA895”,“actual_ident”:“”,“departuretime”:1384914600,“arrivaltime”:1384927200,“origin”:“HECA”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AFL3543”,“actual_ident”:“AZA895”,“departuretime”:1384914600,“arrivaltime”:1384927200,“origin”:“HECA”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“Economy: Lunch”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AZA797”,“actual_ident”:“CAT797”,“departuretime”:1384916100,“arrivaltime”:1384925100,“origin”:“DAOO”,“destination”:“LIRF”,“aircrafttype”:“E170”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:88},{“ident”:“AZA5652”,“actual_ident”:“AFL1483”,“departuretime”:1384916400,“arrivaltime”:1384932900,“origin”:“UNKL”,“destination”:“UUEE”,“aircrafttype”:“B77W”,“meal_service”:“”,“seats_cabin_first”:30,“seats_cabin_business”:48,“seats_cabin_coach”:324},{“ident”:“AZA3951”,“actual_ident”:“AFL1307”,“departuretime”:1384917300,“arrivaltime”:1384932300,“origin”:“UNNT”,“destination”:“UUEE”,“aircrafttype”:“A321”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:28,“seats_cabin_coach”:142}]}}
The correct argument name is “howMany”
Ok, but if I put the parameter HowMany the result takes me back the no. flights indicated by this parameter, does not refer to max_size and in fact are Flights Only the past
flightxml.flightaware.com/json/F … ax_size=50
result:
{“AirlineFlightSchedulesResult”:{“next_offset”:5,“data”:{“ident”:“AZA553”,“actual_ident”:“”,“departuretime”:1384910400,“arrivaltime”:1384931100,“origin”:“USSS”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AZA3921”,“actual_ident”:“ETD385”,“departuretime”:1384910700,“arrivaltime”:1384914600,“origin”:“OOMS”,“destination”:“OMAA”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AZA3039”,“actual_ident”:“AFL1120”,“departuretime”:1384913400,“arrivaltime”:1384923000,“origin”:“UUEE”,“destination”:“URSS”,“aircrafttype”:“A321”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:28,“seats_cabin_coach”:142},{“ident”:“AZA595”,“actual_ident”:“”,“departuretime”:1384913700,“arrivaltime”:1384927800,“origin”:“UUEE”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165},{“ident”:“AFL3204”,“actual_ident”:“AZA595”,“departuretime”:1384913700,“arrivaltime”:1384927800,“origin”:“UUEE”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“Economy: Lunch”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165}]}}
Tks
“max_size” is not a valid parameter. it is being ignored, because it is unrecognized. You need to use “howMany” (case sensitive).
Hello
Thank you.
I find written in the documentation: " These schedules are available for the recent past as well asup to one year into the future"
Why, however, I will return only flights in the past and indicated with the parameter howMany?
As I may have even future flights?
thank you very much
flightxml.flightaware.com/json/F … &howMany=5
{“AirlineFlightSchedulesResult”:{“next_offset”:5,“data”:{“ident”:“AZA3921”,“actual_ident”:“ETD385”,“departuretime”:1384997100,“arrivaltime”:1385001000,“origin”:“OOMS”,“destination”:“OMAA”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AZA3913”,“actual_ident”:“ETD370”,“departuretime”:1384998900,“arrivaltime”:1385003100,“origin”:“OBBI”,“destination”:“OMAA”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AZA3039”,“actual_ident”:“AFL1120”,“departuretime”:1384999800,“arrivaltime”:1385009400,“origin”:“UUEE”,“destination”:“URSS”,“aircrafttype”:“A321”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:28,“seats_cabin_coach”:142},{“ident”:“AZA5645”,“actual_ident”:“AFL1284”,“departuretime”:1385000100,“arrivaltime”:1385008500,“origin”:“UUEE”,“destination”:“URKK”,“aircrafttype”:“A320”,“meal_service”:“”,“seats_cabin_first”:0,“seats_cabin_business”:20,“seats_cabin_coach”:120},{“ident”:“AFL3204”,“actual_ident”:“AZA595”,“departuretime”:1385000100,“arrivaltime”:1385014200,“origin”:“UUEE”,“destination”:“LIRF”,“aircrafttype”:“A320”,“meal_service”:“Economy: Lunch”,“seats_cabin_first”:0,“seats_cabin_business”:0,“seats_cabin_coach”:165}]}}
If you want flights that are further in the future then you must specify an endDate that is further in the future. The startDate and endDate parameters are used to constrain what flight departure range will be considered.