Jump to content

SLF68

Members
  • Posts

    5
  • Joined

  • Last visited

SLF68's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. air septimanie - the friendly virtual airline is pleased to announce the integration of its web site with vaCentral - the premier resource for virtual airlines on the net. Thus, you can now choose to sent your pilot reports (PIREPs) to vaCentral and to follow your flight on their live map. Although there are still a few minor issues outstanding, I am working with Nabeel to fully integrate our custom web site with vaCentral. Based in the beautiful Languedoc region in the South of France with bases in Béziers, Frankfurt-Hahn, Paris-Orly, Lübeck and London-Stansted, air septimanie is a virtual airline for X-Plane and FlightGear flying a fleet of 11 Airbus A-320 and 5 Boeing 737-800 and proposing regular flights between the north of Europe and our heartland in the South Of France and beyond. Our destinations include exciting cities, such as: Béziers Carcassonne Frankfurt Girona Hamburg (Lübeck) London Munich (Memmingen) Paris ... and many more Please visit our web site at: http://www.air-septimanie.com and feel free to join us as a pilot. We are looking for you.
  2. Please find below a summary of my findings (so far) re the XML interface into VA Central: - Updating VA information seems to be working, i.e. I can see the correct number of pilots and also flight hours. I can't say whether the flights and scheudles information is correct, as I don't see this on VA Central. - Updating pilot information seems to be working, i.e. at least I get a success message back - Adding a PIREP is working partially, i.e. my PIREP is loaded and showing in the "Activity Feed". However the PIREP count for my virtual airline is not correct and does not correspond to the information in the activity feed. - Removing a PIREP is NOT working. Although I do not get an XML error and a SUCCESS message, I always get 0 of 1 PIREP removed and the PIREP is still there. - Updating schedules is NOT working and failing with an XML error. There are still some further questions regarding the ACARS functionality: - When are ACARS records removed and can I force a removal ? Main reason for asking, is that we allow users to abandon an active flight (e.g. because their simulator has crashed, they get interrupted, and so on). In this case we revert the ACARS, plane and other informatiom back to the pre-flight status, but I am not sure how I would tell the VA Central ACARS system. - The same applies to the completion of a flight. Is the ACARS records automatically removed, or do I need to do something ?? - Which date and time format is to be used for the lastupdate information for an ACARS record or the submitdate for a PIREP (Unix timestamp), i.e. just the serial time (number of seconds since 1/1/1970) or a formatted date and time string (and in which format). Thanks in advance for any help anybody can provide. I am at my wits end.
  3. As an aside. I managed to post a PIREP today using the function add_pirep, but the function remove_pireps doesn't seem to remove the PIREP, despite returning SUCCESS and using the same unique id used to add the PIREP. Still puzzled.
  4. Hi, I have just registered my airline (which has been going for over a year) with vaCentral and am now trying to build the interface from our custom web site (build in Perl) to vaCentral using the XML interface. Unfortunately I have run into some problems with uploading schedules (routes), which are always rejected as INVALID XML. I managed to update the general VA information and the pilot information without a problem, which seem to indicate, that the way I am posting is correct. Thus, I am a bit confused. Please find below the readable XML code for an example schedule update (trying a single first): <?xml version="1.0"?> <vacentral> <siteurl>http://www.air-septimanie.com</siteurl> <apikey>MY API KEY</apikey> <version>20120314</version> <debug>1</debug> <method>update_schedules</method> <total>1</total> <schedule> <flightnum>9F2535</flightnum> <depicao>EDFH</depicao> <arricao>LFMU</arricao> <route>EDFH SID IDARO Q760 SBN G21 GTQ UN852 MILPA UN869 MOKDI UY27 MEN STAR LFMU</route> <distance>479.71</distance> <price>10</price> <flighttype>P</flighttype> <notes>Alternate airport: Perpignan-Rivesaltes (LFMP)</notes> <aircraft>A320</aircraft> <registration>A</registration> <deptime>01:00 GMT</deptime> <arrtime>01:10 GMT</arrtime> <daysofweek>0</daysofweek> <maxload>164</maxload> </schedule> </vacentral> The additional error code I am getting is: <body> <div id="content"> <h1>An Error Was Encountered</h1> <p>Error Triggered: [2] Invalid argument supplied for foreach()<br /> Line 185 in file /var/www/phpvms/api/controllers/update.php </p> </div> </body> Maybe somebody can point me to my mistake. I have also tried to send only a subset of the fields, e.g. only the flight number and the departure and arrival airport. Thanks in advance for any help.
×
×
  • Create New...