FlightAware Discussions

FlightInfoEx API not working

Hello there

Please take a look and let me know error

API: https://flightxml.flightaware.com/json/FlightXML2/AirlineFlightSchedules
Request Data: {“startDate”:1577409300,“endDate”:1577502900,“flightno”:“2936”,“airline”:“SEJ”}
Response:
{
“AirlineFlightSchedulesResult”:{
“next_offset”:-1,
“data”:[
{
“ident”:“SEJ2936”,
“actual_ident”:"",
“departuretime”:1577428200,
“arrivaltime”:1577436300,
“origin”:“VIJR”,
“destination”:“VASU”,
“aircrafttype”:“DH8B”,
“meal_service”:“Economy: No meal”,
“seats_cabin_first”:0,
“seats_cabin_business”:0,
“seats_cabin_coach”:78
}
]
}
}

So, we get a flight and we try to pull its information by FlightInfoEx:
API: https://flightxml.flightaware.com/json/FlightXML2/FlightInfoEx
Request Param: {“ident”:“SEJ2936@1577428200”,“howMany”:1,“offset”:0}
Response: {“error”:“NO_DATA flight not found”}

Can you explain it?

SEJ2936@1577428200 is still too far in the future for it to exist as a flightplan in our system, and thus be visible to FlightInfoEx. Flights that occur outside of our primary service areas do not receive flightplans as far in the future as those within.

You can also request FlightInfoEx for “SEJ2936” (without any timestamp) and browse through the results to see if there are any timestamps close to the one you are looking for. In some uncommon cases, the flightplan might get created with a slightly different timestamp than what AirlineFlightSchedules predicted it should be.

Hello okay

Understood. How can i close this ticket.