All bookings for given dates / times

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

Moderator: Michal Rok

Post Reply
bharb
Posts: 23
Joined: Mon May 12, 2008 2:22 pm

All bookings for given dates / times

Post by bharb » Mon Mar 23, 2009 5:05 pm

Hello!

I am currently developing a platform independent tool to view the booking status of VATBook bookings. Therefore I would need a list of all bookings available, if possible for a given date/time range. The option to use the available bookings by FIR page is not really helpful because I would need to do one connection to the server for each FIR which would not be very performant.

Is such a list possible to get?

Thanks,
Bernhard.

User avatar
Michal Rok
Five Star Club
Posts: 2444
Joined: Wed Aug 31, 2005 4:23 pm

Re: All bookings for given dates / times

Post by Michal Rok » Sun Apr 05, 2009 4:37 am

Hi Bernhard,

I enhanced http://vatbook.euroutepro.com/xml2.php to work with no FIR parameter as well. It returns all entries between yesterday and today+180days - hope that is sufficient.



Michal

bharb
Posts: 23
Joined: Mon May 12, 2008 2:22 pm

Re: All bookings for given dates / times

Post by bharb » Thu Apr 09, 2009 3:06 pm

Thank you,
Bernhard.

bharb
Posts: 23
Joined: Mon May 12, 2008 2:22 pm

Re: All bookings for given dates / times

Post by bharb » Thu Apr 09, 2009 3:16 pm

Michal, since your change in the script I do not get ATC bookings for our VACC with the URL http://vatbook.euroutepro.com/xml2.php?fir=LOVV

Could you crosscheck the system again please, because our booking is not working correctly because of that at the moment.

Thanks,
Bernhard.

User avatar
Michal Rok
Five Star Club
Posts: 2444
Joined: Wed Aug 31, 2005 4:23 pm

Re: All bookings for given dates / times

Post by Michal Rok » Sat Apr 11, 2009 4:14 am

I double checked the link you provided and it definitely shows the bookings. What errors do you get?


Michal

bharb
Posts: 23
Joined: Mon May 12, 2008 2:22 pm

Re: All bookings for given dates / times

Post by bharb » Mon Apr 13, 2009 9:00 pm

Ok, I got the error now. You changed the <atc> tag to <atcs> which could make troubles in all parsers using that file and which does that in our parser. Could you please definitely tell me which version <atc> or <atcs> will be the standard for this file from now on?

Cheers,
Bernhard.

User avatar
Michal Rok
Five Star Club
Posts: 2444
Joined: Wed Aug 31, 2005 4:23 pm

Re: All bookings for given dates / times

Post by Michal Rok » Tue Apr 14, 2009 4:14 am

I didn't change, you switched from xml.php to xml2.php and this is the difference between the two files. I added a new file because in xml.php structure there was no place to put pilot bookings in, because it was organized around ATCs.


Michal

bharb
Posts: 23
Joined: Mon May 12, 2008 2:22 pm

Re: All bookings for given dates / times

Post by bharb » Tue Apr 14, 2009 10:46 am

Ah, ok - then everything seems to work now :)

thanks,
Bernhard.

Knaze
Posts: 10
Joined: Thu Aug 14, 2008 6:06 pm

Re: All bookings for given dates / times

Post by Knaze » Fri Apr 17, 2009 12:00 pm

Hello Michal!

Can you advise me, how to do sorting on a date? Because the dates of record stand in disorder as a record was done. Is there possibility to assort dates till I will get information on xml?

--
Kind regards

Director of vACC UKRAINE & AVPU.org (http://avpu.org)
Igor Kikot (Knaze)

User avatar
Michal Rok
Five Star Club
Posts: 2444
Joined: Wed Aug 31, 2005 4:23 pm

Re: All bookings for given dates / times

Post by Michal Rok » Fri Apr 17, 2009 6:09 pm

There's no specific sorting in the XML output. You need to program this on your side.


Michal

Knaze
Posts: 10
Joined: Thu Aug 14, 2008 6:06 pm

Re: All bookings for given dates / times

Post by Knaze » Thu May 07, 2009 8:58 am

Michal, how I can get information about bookin of pilots for all FIR of Ukraine?
like this http://vatbook.euroutepro.com/xml2.php?fir=UKBV but only for all my 5 FIR (UKBV, UKOV, UKFV, UKHV, UKLV) in one file
it's possible?
because, when I unite 5 files, I get a few identical FPL (exactly so much, how many cross FIR)

Help me pleeeeees :(

User avatar
Michal Rok
Five Star Club
Posts: 2444
Joined: Wed Aug 31, 2005 4:23 pm

Re: All bookings for given dates / times

Post by Michal Rok » Thu May 07, 2009 2:39 pm

Ihor,

There's no such feature yet. But even if I allowed you to enter a number of FIRs as a parameter it would still show individual entries for each FIR, so it wouldn't make much sense. Sorry.


Michal

admitt
Posts: 1
Joined: Tue Jul 19, 2011 10:40 am

Re: All bookings for given dates / times

Post by admitt » Tue Jul 19, 2011 10:45 am

Michal Rok wrote:I enhanced http://vatbook.euroutepro.com/xml2.php to work with no FIR parameter as well. It returns all entries between yesterday and today+180days - hope that is sufficient.
Hi Michal,

As far as I can see, xml2.php without any parameters returns ATC booking only. Is there any way to get full booking information including ATCs and Pilots?

User avatar
Michal Rok
Five Star Club
Posts: 2444
Joined: Wed Aug 31, 2005 4:23 pm

Re: All bookings for given dates / times

Post by Michal Rok » Tue Jul 19, 2011 8:50 pm

Try http://vatbook.euroutepro.com/xml4.php?fir=EDBB for pilots and then combine as you like.


Michal

Post Reply