This operation is designed to
get remote information of hotels, such as location, map, pictures, short
description…
By now, the call must be via
HTTP as an URL request. However, the response can be generated either in HTML
or in XML format.
Following is
simple URL example of a request for retrieving Hotel Description Information:
For html
response, this should be the request:
http://(hotel_info_URL)?xxbd=parsysdemo&xxversion=&xxop=1&xxps=test&xxhotel=1
…where xxbd is
database name, xxversion can be void, xxop is operator code, xxps is operator
password, xxname is hotel name and xxhotel is hotel code.
The response
should be shown in similar way as following (HTML):
For XML
response, just add the parameter xml=1 as follows:
http://(hotel_info_URL)?xxbd=parsysdemo&xxversion=&xxop=1&xxps=test&xxname=EUROPA&xxhotel=1&xml=1
The information in XML format is auto-explanined, and look like as follows
(in this case, for a TRAVCO HOTEL):
<HotelInfo>
<HotelPictures>
<Picture
Type="Hotel">
http://www.travco.co.uk/Images/hotel_pics/EUB/EUB_front.jpg
</Picture>
<Picture
Type="Hotel">
http://www.travco.co.uk/Images/hotel_pics/EUB/EUB_bed.jpg
</Picture>
<Picture
Type="Hotel">
http://www.travco.co.uk/Images/hotel_pics/EUB/EUB_map.jpg
</Picture>
</HotelPictures>
<HotelName>Europa</HotelName>
<HotelCity>Belfast</HotelCity>
<HotelCountry>GRAN
BRETAÑA</HotelCountry>
<HotelStarRating>4
Star</HotelStarRating>
<HotelCat>4*</HotelCat>
<HotelLocation>
<Located/>
<Detail/>
</HotelLocation>
<HotelAddress>
Great Victoria Street , Belfast
BT2 7AP United Kingdom
</HotelAddress>
<HotelPhone>44 (0)28
9032-7000</HotelPhone>
<HotelFax>44 (0)28
9048-6767</HotelFax>
<HotelDescriptions>
<HotelDescription
Name="General">
Contemporary hotel situated adjacent to Grand Opera House near main
business and shopping area. Rooms are attractive with central heating, private
bath, radio, phone, hair dryer, tea & coffee making facilities and cable
TV. 24 Hour Room Service- Gourmet Restaurant - Brasserie - Cocktail Lounge -
Meeting Facilities to 750.
</HotelDescription>
</HotelDescriptions>
<ParsysCityCode>11</ParsysCityCode>
<HotelSupplier>Gulliver</HotelSupplier>
<HotelChain>-1</HotelChain>
<HotelCorrespondentCode>0</HotelCorrespondentCode>
<HotelRemoteProviderCode>8300</HotelRemoteProviderCode>
</HotelInfo>