HotelWorks.HotelWebReservation

Online reservation system with live connection to your hotel's Hotel Works installation.

Requirements

In order to use the reservation system, you will need the following:

Initialization

To initialize the reservation system for your hotel you must make a POST request from your website to the reservation system.

HTTP Request

POST https://booking.hotelworks.gr/default.aspx

Required Parameters

NameDescriptionExample value

HotelURL

The full url of your website.

The reservation system will provide a link to that url so the end-users can go back to your website.

http://www.yourDomain.com/

HotelWebServiceURL

The full url of your reservations web service (webhotelservice.asmx).

http://yourStaticIPAddress:portIfNecessary/webhotelservice.asmx

DefaultLang

The two-letter ISO name of the default language that you want the reservation system to use for the end-users.

Valid values are en for English, el for Greek\Ελληνικά, it for Italian\Italiano and ru for Russian\Русский.

If you set this to it or ru, you must also set the ThirdLang to the same value.

en

PaymentMethod

The code of the payment method that you want the reservation system to offer to the end-users.

Valid values are 1 for in-site payment method.

1

HotelCode

The code of the hotel (from Hotel Works) that you want the reservation system to use.

If you want to connect your website with multiple hotels in Hotel Works, you must make separate POST requests, one for each hotel code.
The reservation system supports one and only one hotel for each initialization.

1

Optional Parameters

NameDescriptionExample value

ThirdLang

The two-letter ISO name of the third language that you want the reservation system to offer to the end-users.

Valid values are it for Italian\Italiano and ru for Russian\Русский.

If omitted or not used properly, the reservation system will offer language selection only for English and Greek\Ελληνικά.

it

AllowTodayReservation

Set this to 1 to allow reservations for the current day.

If omitted or not used properly, the reservation system will not allow reservations for the current day.

1

StartDate

The check-in date, must be after the current date, or equal if AllowTodayReservation is set to 1.

Use the format dd/MM/yyyy (day/month/year).

StartDate and EndDate must used together to have any effect.

If omitted or not used properly, the reservation system will offer a dates selection form to the end-users.

15/08/2016

EndDate

The check-out date, must be after the StartDate.

Use the format dd/MM/yyyy (day/month/year).

StartDate and EndDate must used together to have any effect.

If omitted or not used properly, the reservation system will offer a dates selection form to the end-users.

17/08/2016

Example

You can use a simple html <form/> element to make the POST request.

Working demo:

Source code:

<form action="https://booking.hotelworks.gr/default.aspx" method="post">
    <input type="hidden" name="HotelURL" value="http://demo.hotelworks.gr/">
    <input type="hidden" name="HotelWebServiceURL" value="http://webservice.demo.hotelworks.gr/webhotelservice.asmx">
    <input type="hidden" name="DefaultLang" value="en">
    <input type="hidden" name="ThirdLang" value="it">
    <input type="hidden" name="PaymentMethod" value="1">
    <input type="hidden" name="HotelCode" value="1">
    <input type="submit" value="Online Reservation">
</form>