Elxis CMS Forum

Extensions => Components => Topic started by: how on December 07, 2013, 13:17:56

Title: IOS R - IOS H bookings on request
Post by: how on December 07, 2013, 13:17:56
hello.. maybe a silly question...
With IOS Hotels you can set rooms availability and customer make an online booking with immediate confirmation.
Is it possible to work also for sending requests instead of immediate booking?
For example customer will request hotels for specific dates, could see hotels, could see for a hotel room types and prices but instead booking online sending an availability request.
I ask this because hoteliers have their own availability system and is usually hard to keep updating and synchronize IOSH availability with Hotels real availability.
I hope I made a point

thank you
Title: Re: IOS R - IOS H bookings on request
Post by: datahell on December 07, 2013, 21:25:02
IOSR Hotels has an XML/JSON API which you can use for synchronization.

To get for example the reservations made for a hotel with id = 4 on December 2013, do this request:

http://www.example.com/inner.php/reservations/hotels/api/bookings?hid=4&method=resdate&year=2013&month=12

(simplified GET version of the actual request)