Link integration
The link integration is the easiest and most accessible option, we provide guidelines how to create links(URL) of the booking engine into the code of your own website and a new page will be called displaying the hotel listing of any destination chosen.
1. Direct Link Integration with return-customer protection  recommended
The direct link integration is a new possibility to refer directly into sawadee.com's hotel listings and pages, while keeping the loyalty of your customer.
Using a advanced tracking system, the end user is allocated to the originating R24 agent for a one year period form his first enquiry.
Therefore commission from any future bookings will given to the agent, regardless if he goes to the agent's or Sawadee's website.
In case the customer make another enquiry, the return-customer protection period will automatic extend for another year.
Integration display of hotel listing

The link display hotel listing for a specific region:
<a href="http://www.sawadee.com/hotel/bangkok/">Bangkok hotels</a>

Optional parameters to change default currency:
<a href="http://www.sawadee.com/hotel/phuket/&cur=EUR">Phuket hotels</a>

Integration display of hotel page

Display hotel page for a specific region and hotel-ID:
<a href="http://www.sawadee.com/hotel/huahin/alilachaam/">Alila Chaam</a>

Optional parameters to change default currency:
<a href="http://www.sawadee.com/hotel/huahin/alilachaam/&cur=EUR">Alila Chaam</a>

Display hotel page for a specific hotel number (hno):
<a href="http://www.sawadee.com/hotel/632523/">Alila Chaam</a>

Note: if possible, use hotel number (hno) based links, as those number don't change.
on the other hand, the region/hoteltag link could change if e.a. the hotel get a new name.


Additional functions for displaying hotel logo, main picture and featured hotels are available.

Link Integration URL 2010 version
2. Link Integration for white label system (R24.asia)
R24 provide the hotel page and the hotel listing for agents, agents just simply  insert “domain name” in the URL as the example below.
The white label link integration allow the agent to use his own brand without any co-branding or affiliation.
However, returning customers must return to the agent's own website in order to secure the commission.

Integration display of hotel listing NEW!

Sample URL for create hotel page (own website): Demo display hotel listing
Please view page code of this URL link (right click on the webpage and choose 'view page source') and set parameters to your R24-registered are detailed below. (copy all the codes and save it into your own HTML file)

Supported parameters:

id: [Set name of target id for display the template]
partner: [Set your R24-registered domain name]
apikey: [Set your R24-registered api key]
lgs: [list of language menu supported e.g. en,th,de,fr,se,ru,cn,jp]
lg: [default language]
c: [default currency]
popular: [Set 'TH' to display hotel listing for all popular hotels]
 

Optional parameters:
 pv:          [Set the province id to display hotel listing for a specific province instead of the popular]
 av:          [Set 1 to display hotel listing for only available hotels]
* Please note: Should used only one parameter by using the popular or the pv, couldn't used both  together.

Setting parameters for display hotel listing for all popular hotels
(popular, suggest for home page):
ajaxPage({ id:'template', partner:'partner', apikey: '179baf7600c7a1c3dbb426357bcc7fd0', lgs:'en,th,cn,ru', lg:'en', c:'THB', popular:'TH' });


Setting parameters for display hotel listing for a specific province (pv):
ajaxPage({ id:'template', partner:'partner', apikey: '179baf7600c7a1c3dbb426357bcc7fd0', lgs:'en,th,cn,ru', lg:'en', c:'THB', pv:'01' });


Setting parameters for display hotel listing for all popular hotels (popular) and
only shows available hotels (av):

ajaxPage({ id:'template', partner:'partner', apikey: '179baf7600c7a1c3dbb426357bcc7fd0', lgs:'en,th,cn,ru', lg:'en', c:'THB', popular:'TH', av:1 });


The hotel list page can be adjusted CSS style to override a CSS class to display your logo, color and etc. Please find for example as below.
.theme-header { background-color:#D1D2D4; color:white }
.theme-bgcolor1 { background-color:#E094DA }
.theme-bdcolor { border-color:#E094DA }
.theme-btnsearch { background-color:#E094DA }
.theme-btnsearch:hover { background-color:#E2D058 }
.theme-sort { background-color:#F3F3F3 }
.theme-sort:hover { background-color:#E094DA }
.theme-btnbook { background-color:#D1D2D4 }
.theme-btnbook:hover { background-color:#E2D058 }
.theme-logoimg { background-image:url('//www.r24.org/en/integration/images/r24logo.png') }

Link Integration URL 2010 version
Sample URL for display hotel listing (home page): http://agent.domain.r24.asia/hotels/
agent.domain is the agent domain name without www.

Integration display of hotel listing

The link display hotel listing for all popular hotels (home page):
<a href="http://agent.domain.r24.asia/hotels/">Popular hotels</a>

The link display hotel listing for a specific region:
<a href="http://agent.domain.r24.asia/hotels/&pv=bangkok">Bangkok hotels</a>

&pv=bangkok is a parameter name of region such as &pv=pattaya, &pv=huahin, &pv=phuket etc.

Optional parameters to change default language:
<a href="http://agency.domain.r24.asia/hotels/&lg=th">Popular hotels</a>
<a href="http://agency.domain.r24.asia/hotels/&lg=cn&pv=bangkok">Bangkok hotels</a>

Optional parameters to change default currency:
<a href="http://agency.domain.r24.asia/hotels/&cur=EUR">Popular hotels</a>
<a href="http://agency.domain.r24.asia/hotels/&cur=EUR&pv=bangkok">Bangkok hotels</a>





Link Integration URL 2010 version
Sample URL for display hotel listing: http://agent.domain.r24.asia/bangkok/
Sample URL for display hotel page: http://agent.domain.r24.asia/bangkok/hoteltag

agent.domain is the agent domain name without www.
bangkok is a name of region such as pattaya, huahin, phuket etc.
hoteltag is the hotel-ID

Integration display of hotel listing

The link display hotel listing for a specific region:
<a href="http://agent.domain.r24.asia/bangkok/">Bangkok hotels</a>

Optional parameters to change default currency:
<a href="http://agent.domain.r24.asia/phuket/&cur=EUR">Phuket hotels</a>

Optional parameters to change default sorting:
<a href="http://agent.domain.r24.asia/huahin/&sorts=n">Huahin hotels</a>

Optional parameters can also be combined:
<a href="http://agent.domain.r24.asia/krabi/&cur=SEK&sorts=n">Krabi hotels</a>

Integration display of hotel page

Display hotel page for a specific region and hotel-ID:
<a href="http://agent.domain.r24.asia/huahin/alilachaam/">Alila Chaam</a>

Optional parameters to change default currency:
<a href="http://agent.domain.r24.asia/huahin/alilachaam/&cur=EUR/">Alila Chaam</a>

Display hotel page for a specific hotel number (hno):
<a href="http://agent.domain.r24.asia/632523/">Alila Chaam</a>

Note: if possible, use hotel number (hno) based links, as those number don't change.
on the other hand, the region/hoteltag link could change if e.a. the hotel get a new name.


Additional functions for displaying hotel logo, main picture and featured hotels are available.

Link Integration URL 2010 version
3. Link Integration previous version (limited support)
Integration display of hotel listing

The link display hotel listing for a specific region:
<a href="http://www.r24.org/AGENT.DOMAIN/bangkok/">Bangkok hotels</a>
<a href="http://www.r24.org/AGENT.DOMAIN/phuket/">Phuket hotels</a>

Integration display of hotel page

The link display hotel page for a specific region and hote-ID:
<a href="http://www.r24.org/AGENT.DOMAIN/bangkok/landmark/"> Landmark Bangkok</a>

Link Integration previous version