FlightAware Discussions

Missing Flight in AirlineFlightSchedule response


#1

Hi,
I’ve been through this FAQ and din’t find proper answer to my concern.

Here is message I sent yesterday, therefore “today” means yesterday. Btw, it’s a ongoing problem.
Flights are missing in airineFlight Schedule : you will see here under taht yesterday we had no flight outgoing from Paris CDG between 1:40PM and 4:15PM !!

Following here-under snapshot of AirlineFlightSchedules answer requeted in SOAP/XML under PHP, there is no flight between 1:40PM and 4:15PM leaving LPFG (FR Roissy CDG) today* ? Where as there are dozens of flight in fact.
I may have misundertood something. Can you please come back to me with some clarifications ?
“…
[11]=>
object(stdClass)#17 (11) {
[“ident”]=>
string(7) “AFR7656”
[“actual_ident”]=>
string(7) “HOP7656”
[“departuretime”]=>
int(1543245300)
[“arrivaltime”]=>
int(1543250400)
[“origin”]=>
string(4) “LFPG”
[“destination”]=>
string(4) “LFBZ”
[“aircrafttype”]=>
string(4) “E170”
[“meal_service”]=>
string(24) “Economique: Pas de repas”
[“seats_cabin_first”]=>
int(0)
[“seats_cabin_business”]=>
int(0)
[“seats_cabin_coach”]=>
int(76)
}
[12]=>
object(stdClass)#18 (11) {
[“ident”]=>
string(7) “CES4957”
[“actual_ident”]=>
string(7) “AFR7630”
[“departuretime”]=>
int(1543262400)
[“arrivaltime”]=>
int(1543266900)
[“origin”]=>
string(4) “LFPG”
[“destination”]=>
string(4) “LFBD”
[“aircrafttype”]=>
string(4) “A320”
[“meal_service”]=>
string(24) “Economique: Pas de repas”
[“seats_cabin_first”]=>
int(0)
[“seats_cabin_business”]=>
int(0)
[“seats_cabin_coach”]=>
int(178)
}
…”

PHP Code is :
$startDate = new DateTime();
$endDate = new DateTime(date(‘d-m-Y’,mktime(0,0,0,(int)date(‘m’),1+(int)date(‘d’),(int)date(‘Y’))));

$params = array(“startDate” => $startDate->getTimestamp(),
“endDate” => $endDate->getTimestamp(),
“origin”=>“LFPG”,
“destination”=>"",
“airline”=>"",
“flightno”=>"",
“howMany” => 15,
“offset”=>$offset
);
$result = $client->AirlineFlightSchedules($params);
var_dump($result);


#2

Schedule results exist for local departure between 1:40PM and 4:15PM at CDG. Based in your queries it looks like this time range is being unintentionally hidden by the sheer volume of scheduled flights (including codeshares) departing LPFG in a single day.

It may be helpful to refine the schedule searches to a single Airline or include a destination when searching. Otherwise you may have to use the offset to cycle through several pages of results.