Skip to main content

Portal Website Integration


4.1 Portal Edition Booking Mask

There is a set of possible parameters to link a booking form to the list of hotels of the portal booking engine. These parameters are explained below in detail. Below is an example of a portal booking engine URL:

https://portalname.book-onlinenow.net/index.aspx?Page=22&Area=&City=&Villa=&portal=18&orderby=random&
arrival=17/03/2015&departure=18/03/2015&adults=2&kids=
NameTypeValuesRequiredDefaultExampleNotes
PageInt22Yes22Page=22Fixed value
lan_idStringYeslan_id=lan_id = en-USSelected Language
promoStringNopromo=Promo Code or Agent Code
arrivalDateYesarrival=29/05/2013Format
dd/MM/yyyy
departureDateYesFormat
dd/MM/yyyy
roomsIntYesrooms=1Number of Rooms
adultsIntYesadults=3Number of Adults
kidsIntYeskids=1Number of Children
ExtraInt0YesFixed value
cotInt0YesFixed value
AreaStringYesArea, acts as a filter leave empty for all areas
CityStringYesCity, acts as a filter leave empty for all cities
VillaStringYesHotel name, acts as a filter for selected hotel - Leave empty for all hotels
PortalStringYesPortal ID – unique fixed value
orderbyStringYesorderby=totalprice ascPossible values: totalprice, random, stars
Default is “random”
Asc or Desc can be used in ordering.

To launch the Bookonlinenow portal edition booking engine with no dates, the link should follow the format:

https://portalname.book-onlinenow.net/index.aspx?Page=22&Area=&City=&Villa=&
portal=9&adults=2&kids=0&lan_id=&orderby=random

The link is redirected to the portal edition, showing the results for the following criteria: Arrival date is the current date, Overnights = 1

4.3 Portal Edition – Available hotels and order

There are two parameters in the Portal Link that works as follows: onlyavail=no : Displays all hotels regardless their availability onlyavail=yes : Displays only available hotels orderby=totalprice desc : Displays hotels from higher to lower price orderby=totalprice asc : Displays hotels from lower to higher price orderby=random : Displays hotels on a random order

Examples

Show all hotels from higher to lower price:

https://portalname.book-onlinenow.net/index.aspx?Page=22&Area=&City=&Villa=&
portal=XX&adults=2&kids=0&orderby=totalprice desc&onlyavail=no

Show all hotels from lower to higher price:

https:// portalname.book-onlinenow.net/index.aspx?Page=22&Area=&City=&Villa=&
portal=XX&adults=2&kids=0&orderby=totalprice asc&onlyavail=no

Show all hotels with random order:

https:// portalname.book-onlinenow.net/index.aspx?Page=22&Area=&City=&Villa=&
portal=XX&adults=2&kids=0&orderby=random&onlyavail=no

Show only available hotels with random order:

https:// portalname.book-
onlinenow.net/index.aspx?Page=22&Area=&City=&Villa=&portal=XX&adults=2&kids=0&
orderby=random&onlyavail=yes

where XX is the portal ID