All bookings for given dates / times
Moderator: Michal Rok
All bookings for given dates / times
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.
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.
- Michal Rok
- Five Star Club
- Posts: 2447
- Joined: Wed Aug 31, 2005 4:23 pm
Re: All bookings for given dates / times
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
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
Re: All bookings for given dates / times
Thank you,
Bernhard.
Bernhard.
Re: All bookings for given dates / times
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.
Could you crosscheck the system again please, because our booking is not working correctly because of that at the moment.
Thanks,
Bernhard.
- Michal Rok
- Five Star Club
- Posts: 2447
- Joined: Wed Aug 31, 2005 4:23 pm
Re: All bookings for given dates / times
I double checked the link you provided and it definitely shows the bookings. What errors do you get?
Michal
Michal
Re: All bookings for given dates / times
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.
Cheers,
Bernhard.
- Michal Rok
- Five Star Club
- Posts: 2447
- Joined: Wed Aug 31, 2005 4:23 pm
Re: All bookings for given dates / times
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
Michal
Re: All bookings for given dates / times
Ah, ok - then everything seems to work now 
thanks,
Bernhard.

thanks,
Bernhard.
Re: All bookings for given dates / times
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)
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)
- Michal Rok
- Five Star Club
- Posts: 2447
- Joined: Wed Aug 31, 2005 4:23 pm
Re: All bookings for given dates / times
There's no specific sorting in the XML output. You need to program this on your side.
Michal
Michal
Re: All bookings for given dates / times
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
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

- Michal Rok
- Five Star Club
- Posts: 2447
- Joined: Wed Aug 31, 2005 4:23 pm
Re: All bookings for given dates / times
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
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
Re: All bookings for given dates / times
Hi Michal,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.
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?
- Michal Rok
- Five Star Club
- Posts: 2447
- Joined: Wed Aug 31, 2005 4:23 pm