Pilot Booking Interface

Support forum for VATBOOK, the flight booking system. For general vroute queries please use vroute.premium forums above.

Moderator: Michal Rok

Re: Pilot Booking Interface

Postby Michal Rok » Wed May 27, 2009 2:52 pm

Ben,

i haven't seen your application. Where to and when did you send it?


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: Pilot Booking Interface

Postby bendobson » Wed May 27, 2009 3:01 pm

Michal

I cant seem to find the URL where it was done now!

Have you got an application link so i can do it again?

Regards

Ben
bendobson
 
Posts: 4
Joined: Wed May 27, 2009 2:26 pm

Re: Pilot Booking Interface

Postby bendobson » Wed May 27, 2009 3:03 pm

Update

I did find it, i went to - http://euro-book.net/index.php?action=1&menu=5

Ben
bendobson
 
Posts: 4
Joined: Wed May 27, 2009 2:26 pm

Re: Pilot Booking Interface

Postby Michal Rok » Wed May 27, 2009 3:09 pm

Ben,

euro-book.net and vatbook are two completely separate things. They had common roots back in the past, they have 100% compatible interfaces but they are not the same thing. I regret that it had to happen, but it was long time ago and it's nothing either one of us (Arek Olesiak and myself) would be proud of, I suppose.

If you want your flight bookings to be on vroute and some websites that use our data, use vatbook. If you want the VA flight management features, pick euro-book.net. You can of course send your flight bookings to both places, but you will need separate access credentials.

In case you would like vatbook's EKEY/EID please let us know at support@vroute.net.


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: Pilot Booking Interface

Postby bendobson » Wed May 27, 2009 3:10 pm

Ahh that will be why then :)

Thanks will email now!

Ben
bendobson
 
Posts: 4
Joined: Wed May 27, 2009 2:26 pm

Re: Pilot Booking Interface

Postby Knaze » Tue Jun 02, 2009 10:31 am

Hi Michal!

some problem.... I submit flight plan

http://vatbook.euroutepro.com/ext_rmt_add_flight.php?fdate=20090602&pid=930148&eid=******&ekey=********&callsign=AUI901&pname=Igor+Kikot&dep=UKBB&arr=UKBB&echelon=060&deptime=1900&arrtime=2100&actype=B735..........
ACTION=ADD FP
RESULT=SUCCESS
FP ID=275159


I'm waited 2 hours, but not have my booking in xml2....
And then I check it via VROUTE. Sending booking and after 20 min and I see booking in xml2
Where is error?
Knaze
 
Posts: 10
Joined: Thu Aug 14, 2008 6:06 pm

Re: Pilot Booking Interface

Postby Michal Rok » Tue Jun 02, 2009 10:24 pm

Ihor,

i don't understand why you post the same message here and send it to me by email at the same time, especially that your quote above does not include the entire URL. I'll respond to your email.


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: Pilot Booking Interface

Postby Chris Doherty » Sat Jun 13, 2009 12:24 pm

Hello, im just wondering how this actually works. Id like to send the information but not change to a different page but im not sure how you do that and ive no idea how the recieveing end whats the data organised, eg in <input tags.

Please could you just explain how to go about sending the data.

Cheers Chris
Chris Doherty
 
Posts: 3
Joined: Sat Jun 13, 2009 12:16 pm

Re: Pilot Booking Interface

Postby Michal Rok » Sat Jun 13, 2009 12:27 pm

Chris,

you need to make a background call from your code, for example by constucting a proper URL and (in PHP) fetching it by file_get_contents.



Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: Pilot Booking Interface

Postby Chris Doherty » Sat Jun 13, 2009 9:08 pm

Yeah im really sorry ive no idea what that is. I understand this isnt the place to really ask for this sort of help but since you know a lot about it i figured it would be ok to ask.

Feel free to contact me at chrisd_312[at]hotmail.co.uk
Chris Doherty
 
Posts: 3
Joined: Sat Jun 13, 2009 12:16 pm

Re: Pilot Booking Interface

Postby Michal Rok » Sat Jun 13, 2009 9:10 pm

What programming language do you use? What do you want to achieve?


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: Pilot Booking Interface

Postby Chris Doherty » Sun Jun 14, 2009 8:29 am

Well im actually using PHP and believe it or not (I dont mean this big headedly) im actually relatively good and have a vast knowlege of the language however ive never done this before. Im obviously in the process of making a virtual airline and would like to be able to submit bookings to euro-book but im not sure how to actually send the information to euro-book. I can sort the data out but the only way i know of sending the information to a link is to actually visit that page wiith the information in a header.
Chris Doherty
 
Posts: 3
Joined: Sat Jun 13, 2009 12:16 pm

Re: Pilot Booking Interface

Postby Michal Rok » Sun Jun 14, 2009 8:37 am

In php you can do something like this:

$url = "http://vatbook.euroutepro.com/ext_rmt_add_flight.php?some_parameters_go_here";
$response = file_get_contents($url);

This way the variable $response will contain textual information from VATBOOK confirming your booking or informing why it wasn't accepted.

Note that euro-book.net and vatbook are two completely separate things. They had common roots back in the past, they have 100% compatible interfaces but they are not the same thing. I regret that it had to happen, but it was long time ago and it's nothing either one of us (Arek Olesiak and myself) would be proud of, I suppose.

If you want your flight bookings to be on vroute and some websites that use our data, use vatbook. If you want the VA flight management features, pick euro-book.net. You can of course send your flight bookings to both places, but you will need separate access credentials.

In case you would like vatbook's EKEY/EID please let us know at support@vroute.net.


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: Pilot Booking Interface

Postby Knaze » Mon Jun 15, 2009 3:12 pm

Michal,
How I can update (modify) my booking of pilot and atc?
didn't find information about it...
Knaze
 
Posts: 10
Joined: Thu Aug 14, 2008 6:06 pm

Re: Pilot Booking Interface

Postby Michal Rok » Mon Jun 15, 2009 5:48 pm

You can only remove the old entry and submit a new one.


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2431
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

PreviousNext

Return to VATBOOK

Who is online

Users browsing this forum: No registered users and 1 guest

cron