Today we had the quick job of posting some data to Travel Click’s iHotelier application. We had a client that has a hotel (obviously) and needed their reservation form connected to ihotelier’s web based reservation application.

I figured it would help someone if i documented the steps it took to send data to them..

We placed the form action to ihotelier appication and you end up with a page like this:

The main thing to know is that the ihotelier application accepts $_GET data in a certain formation as follows:

  • DateIn
  • DateOut
  • Adults
  • Children
  • Rooms
  • HotelID
  • LanguageID

The full url that we ended up posting to was something like:

https://reservations.ihotelier.com/istay.cfm?DateIn=9/1/2011&DateOut=9/7/2011&Adults=1&Children=0&Rooms=1&HotelID=13187&LanguageID=1

Its actually a pretty simple system once you know the variables it wants. We had to figure it from trial and error unfortunately.

Hope this helps.. See ya!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>