If you work with links on the general pages of your homepage, it is recommended to send your visitors to the Spider-Booking room overview.
However, if the client is looking at specific room categories or a promotion, they should be taken directly to that specific element in the booking path.
With the URL of Spider-Booking you can send clients to pre-selected rooms, travel dates or promotions.
The basic link for your accommodation will always remain the same. Here is the info where you can find it:
Spider-Booking Website Integration - Integration with One Link
This is how the parameters are added to the URL:
In order to add additional parameters to the basic link, it must be slightly modified. The basic link always has the format https://reservations.hotel-spider.com/ followed by /HOTEL_ID
The basic link is replaced by:
https://reservations.hotel-spider.com?
After the '?' the different elements can be added.
Always as first and obligatory the hotel ID must be appended:
https://reservations.hotel-spider.com?hotelId=HOTEL_ID
Example:
https://reservations.hotel-spider.com?hotelId=00F561cc11232b52
After that, each additional parameter is added with an '&' character and the value is defined with an '=' character.
Example:
https://reservations.hotel-spider.com?hotelId=HOTEL_ID&guestRoomId=
The following parameters can be taken via the HTTP URL:
|
Parameter
|
Type
|
Comment
|
Default value
(if not supplied) |
|---|---|---|---|
| hotelId |
OBLIGATORY - string |
The ID of the hotel as supplied by Hotel-Spider. | N/A |
| checkIn | ISO 8601 formatted date e.g. 2021-04-18 |
The arrival date | The current date (or 1 day before the CheckOut date, if specified). |
| checkOut | ISO 8601 formatted date e.g. 2021-04-19 |
The departure date | The day after the current date (or 1 day after the check-in date, if specified). |
| nbAdults | integer - number | The number of adults for the stay | 1 |
| nbChildren | integer - number | The number of children | 0 |
| nbInfants | integer - number | The number of infants | 0 |
| nbRooms | integer - number | The number of rooms | 1 |
| lang | String | The requested language code. Accepted values: "en", "fr", "de", "it", "es", "nl". |
The standard language of the hotel |
| promoCode | String | A predefined offer code |
N/A |
All parameters except the hotel ID are optional.
Examples:
- for a stay between June 1-3, 2021 for an unknown number of guests:
https://reservations.hotel-spider.com/HOTEL_ID?checkIn=2021-11-01&checkOut=2021-11-02 - for a stay between July 12-14, 2021 for 2 adults and 1 baby:
https://reservations.hotel-spider.com?hotelId=HOTEL_ID?checkIn=2021-06-01&checkOut=2021-06-03&nbAdults=2&nbInfants=1 - for a stay for tonight for 2 adults:
https://reservations.hotel-spider.com?hotelId=HOTEL_ID&nbAdults=2
Redirecting the user to a specific room
It is possible to redirect the user to a specific room among the results by specifying the base route as follows:
https://reservations.hotel-spider.com/HOTEL_ID/room/ROOM_ID
All other parameters can still be used.
For example:
Note: If the room with the specified parameters (data and/or occupancy) is not available, the user will be redirected to the default results list.
Comments
0 comments
Please sign in to leave a comment.