FlightAware Discussions

How to validate whether flight exists on a date?


I have been developing a web site which requires the user input for Destination Airport, Flight Date and Flight ID (e.g. SWR138).

I need to validate whether the flight exists on this **future ** date and retrieve the Scheduled Arrival Time.

AirlineFlightSchedules might be the right API to be used. Right?

I have tried to call this API without specifying the origin airport (optional) but get a fatal error: “SOAP-ERROR: Encoding: object has no ‘origin’ property”.
Are the spec incorrect or how shall I specify the call?


That specific error is being produced by your own client-side SOAP library and not our server. Depending on your SOAP library, you may need to supply either a null or an empty string for any optional arguments you wish to leave blank.