Im using AirlineFlightSchedules to get Flight Schedules for CMB / VCBI airport. In result set i saw same flight details are repeating in several times.
To CMB (Colombo Bandaranayake Internation Air Port. Sri Lanka) mostly 70 or 80 flights comes per day. So i setMaximumResultSize to 100 and try to get arrivals data then i saw 100 records are coming and some flights are repeating. Lot of flights are missing. Below is the code i used to get data. Please tell me the reason.
Date today = new Date();
Date tomorrow= new Date();
Calendar c = Calendar.getInstance();
SetMaximumResultSizeResults setMaximumResultSizeResults = df.setMaximumResultSize(new SetMaximumResultSizeRequest(100));
ArrayOfAirlineFlightScheduleStruct arrayOfAirlineFlightScheduleStruct = df.airlineFlightSchedules(new AirlineFlightSchedulesRequest(today.getTime() / 1000, tomorrow.getTime() / 1000, “”, “CMB”, “”, “”, 100, 0)).getAirlineFlightSchedulesResult();
Thanks & Regards,