Page 1 of 1

Some functions returning strange things

Posted: Sun May 22, 2011 8:15 pm
by MadJosch
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

Re: Some functions returning strange things

Posted: Fri May 27, 2011 7:19 pm
by MadJosch
No one has similar problems or a solution?

Re: Some functions returning strange things

Posted: Mon May 30, 2011 2:44 am
by Konny
I think I found the reason for the problems. Please try it again now.

Re: Some functions returning strange things

Posted: Mon May 30, 2011 5:17 pm
by MadJosch
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"/>".

Re: Some functions returning strange things

Posted: Mon May 30, 2011 7:38 pm
by MadJosch
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.

Re: Some functions returning strange things

Posted: Mon May 30, 2011 8:21 pm
by Konny
Thanks for the detailed info :) Should work now.

Re: Some functions returning strange things

Posted: Mon May 30, 2011 8:26 pm
by MadJosch
Thanks for the extraordinary quick repair. :)
I'll let you know when I find more :P