Some functions returning strange things

Information about the VA integration pack
Post Reply
MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Some functions returning strange things

Post by MadJosch » Sun May 22, 2011 8:15 pm

Hi,

I am experimenting with the XML interface.
As I tested some functions (especially for retrieving aircraft data) they returned data without use to me.
  • getAircraftList

    Code: Select all

    Returns a list of over 7000 aircraft. But from our va's fleets no aircraft seems to be in that list.
  • getFleetAircraftList

    Code: Select all

    <fsa_output version="1.0" success="NOT FOUND"/>
  • getFleetList

    Code: Select all

    Returns a list of va's but they do not appear on the FS Airlines website
  • EDIT getFleetStats

    Code: Select all

    Returns a list of planes that seems to be the correct list on first glance. But there are planes on it I cannot retrieve any data by getAircraftData. But more strange is: there are planes in the list which do not belong to our va.
  • getLeasedAircraftList

    Code: Select all

    <fsa_output version="1.0" success="NOT FOUND"/> 
    Maybe this is because we do not have leased planes
  • getMetar

    Code: Select all

    <fsa_output version="1.0" success="foobar"/>
  • getDistance

    Code: Select all

    <fsa_output version="1.0" success="foobar"/>
Maybe I am doing something wrong here so plz help.
I am pretty sure that the query url's are correct. If wanted I can provide them too.

Jörg

MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Re: Some functions returning strange things

Post by MadJosch » Fri May 27, 2011 7:19 pm

No one has similar problems or a solution?

Konny
FSAirlines Developer
Posts: 1564
Joined: Sun Sep 25, 2005 10:40 am
Location: Munich, Germany
Contact:

Re: Some functions returning strange things

Post by Konny » Mon May 30, 2011 2:44 am

I think I found the reason for the problems. Please try it again now.
Konrad - FSAirlines Developer
Image

MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Re: Some functions returning strange things

Post by MadJosch » Mon May 30, 2011 5:17 pm

Thank you,

getAircraftList,
getFleetAircraftList,
getFleetList,
and getDistance

work now correctly.

But getFleetStats still results in an unuseful list of planes
and getMetar answers now: "<fsa_output version="1.0" success="NOT FOUND"/>".

MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Re: Some functions returning strange things

Post by MadJosch » Mon May 30, 2011 7:38 pm

BTW, I've found some more:
  • getActiveFlights

    Code: Select all

    The data entry "number" is missing in the xml response.
  • getBookedFlights

    Code: Select all

    The data entry "number" is missing in the xml response.

Konny
FSAirlines Developer
Posts: 1564
Joined: Sun Sep 25, 2005 10:40 am
Location: Munich, Germany
Contact:

Re: Some functions returning strange things

Post by Konny » Mon May 30, 2011 8:21 pm

Thanks for the detailed info :) Should work now.
Konrad - FSAirlines Developer
Image

MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Re: Some functions returning strange things

Post by MadJosch » Mon May 30, 2011 8:26 pm

Thanks for the extraordinary quick repair. :)
I'll let you know when I find more :P

Post Reply