When searching through our API it is recommended to limit your the search results and the roundtrips to the API in order to have the optimal performance.
e.g. If you are searching for all the destination, just perform one search without specifying location details.
if you only need results for specific hotels or location, supply these details in the request in order to limit the response size.
By Specifying only Location or Region details you MAY not be able to get all available rooms and rates.
Function HotelAvailabilitySearch(ByVal rq As HotelAvailabilityRequest) As HotelAvailabilityResponse
Sample Requests to get you started
Sample: One Room 2 Adults, all hotels
<HotelAvailabilityRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BaseRequest xmlns="http://webservicesV2.bookcyprus.com/">
<UserName>********</UserName>
<Password>*****</Password>
<Currency>EUR</Currency>
<Language>EN</Language>
<CustomerIpAddress>127.0.0.1</CustomerIpAddress>
<CustomerUserAgent>Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10</CustomerUserAgent>
</BaseRequest>
<FromDate xmlns="http://webservicesV2.bookcyprus.com/">2014-04-03T00:00:00</FromDate>
<ToDate xmlns="http://webservicesV2.bookcyprus.com/">2014-04-10T00:00:00</ToDate>
<Occupancy xmlns="http://webservicesV2.bookcyprus.com/">
<HotelOccupancy>
<RoomIndex>0</RoomIndex>
<Adults>2</Adults>
</HotelOccupancy>
</Occupancy>
<LocationId xmlns="http://webservicesV2.bookcyprus.com/">0</LocationId>
<RegionId xmlns="http://webservicesV2.bookcyprus.com/">0</RegionId>
<StarClassificationId xmlns="http://webservicesV2.bookcyprus.com/">0</StarClassificationId>
<HotelId xmlns="http://webservicesV2.bookcyprus.com/">0</HotelId>
<TrackingCode xmlns="http://webservicesV2.bookcyprus.com/"></TrackingCode>
</HotelAvailabilityRequest>
Sample: One room, 2 adults and 2 children for a specific hotel
<HotelAvailabilityRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BaseRequest xmlns="http://webservicesV2.bookcyprus.com/">
<UserName>********</UserName>
<Password>*****</Password>
<Currency>EUR</Currency>
<Language>EN</Language>
<CustomerIpAddress>127.0.0.1</CustomerIpAddress>
<CustomerUserAgent>Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10</CustomerUserAgent>
</BaseRequest>
<FromDate xmlns="http://webservicesV2.bookcyprus.com/">2014-04-03T00:00:00</FromDate>
<ToDate xmlns="http://webservicesV2.bookcyprus.com/">2014-04-10T00:00:00</ToDate>
<Occupancy xmlns="http://webservicesV2.bookcyprus.com/">
<HotelOccupancy>
<RoomIndex>0</RoomIndex>
<Adults>2</Adults>
<ChildrenAges>
<int>3</int>
<int>5</int>
</ChildrenAges>
</HotelOccupancy>
</Occupancy>
<LocationId xmlns="http://webservicesV2.bookcyprus.com/">0</LocationId>
<RegionId xmlns="http://webservicesV2.bookcyprus.com/">0</RegionId>
<StarClassificationId xmlns="http://webservicesV2.bookcyprus.com/">0</StarClassificationId>
<HotelId xmlns="http://webservicesV2.bookcyprus.com/">230</HotelId>
<TrackingCode xmlns="http://webservicesV2.bookcyprus.com/">trkcode</TrackingCode>
</HotelAvailabilityRequest>
Sample: 2 Rooms searches with one child in each
<HotelAvailabilityRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BaseRequest xmlns="http://webservicesV2.bookcyprus.com/">
<UserName>********</UserName>
<Password>*****</Password>
<Currency>EUR</Currency>
<Language>EN</Language>
<CustomerIpAddress>127.0.0.1</CustomerIpAddress>
<CustomerUserAgent>Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10</CustomerUserAgent>
</BaseRequest>
<FromDate xmlns="http://webservicesV2.bookcyprus.com/">2014-04-03T00:00:00</FromDate>
<ToDate xmlns="http://webservicesV2.bookcyprus.com/">2014-04-10T00:00:00</ToDate>
<Occupancy xmlns="http://webservicesV2.bookcyprus.com/">
<HotelOccupancy>
<RoomIndex>0</RoomIndex>
<Adults>2</Adults>
<ChildrenAges>
<int>3</int>
</ChildrenAges>
</HotelOccupancy>
<HotelOccupancy>
<RoomIndex>0</RoomIndex>
<Adults>2</Adults>
<ChildrenAges>
<int>3</int>
</ChildrenAges>
</HotelOccupancy>
</Occupancy>
<LocationId xmlns="http://webservicesV2.bookcyprus.com/">0</LocationId>
<RegionId xmlns="http://webservicesV2.bookcyprus.com/">0</RegionId>
<StarClassificationId xmlns="http://webservicesV2.bookcyprus.com/">0</StarClassificationId>
<HotelId xmlns="http://webservicesV2.bookcyprus.com/">230</HotelId>
<TrackingCode xmlns="http://webservicesV2.bookcyprus.com/">trkcode</TrackingCode>
</HotelAvailabilityRequest>
Sample: Multi hotel id search
<HotelAvailabilityRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BaseRequest xmlns="http://webservicesV2.bookcyprus.com/">
<UserName>*****</UserName>
<Password>****</Password>
<Currency>EUR</Currency>
<Language>EN</Language>
<CustomerIpAddress>127.0.0.1</CustomerIpAddress>
<CustomerUserAgent>Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10</CustomerUserAgent>
</BaseRequest>
<FromDate xmlns="http://webservicesV2.bookcyprus.com/">2014-05-01T00:00:00</FromDate>
<ToDate xmlns="http://webservicesV2.bookcyprus.com/">2014-05-05T00:00:00</ToDate>
<Occupancy xmlns="http://webservicesV2.bookcyprus.com/">
<HotelOccupancy>
<RoomIndex>0</RoomIndex>
<Adults>2</Adults>
</HotelOccupancy>
</Occupancy>
<LocationId xmlns="http://webservicesV2.bookcyprus.com/">0</LocationId>
<RegionId xmlns="http://webservicesV2.bookcyprus.com/">0</RegionId>
<StarClassificationId xmlns="http://webservicesV2.bookcyprus.com/">0</StarClassificationId>
<HotelId xmlns="http://webservicesV2.bookcyprus.com/">0</HotelId>
<MultiHotelIds xmlns="http://webservicesV2.bookcyprus.com/">
<int>5</int>
<int>230</int>
</MultiHotelIds>
<TrackingCode xmlns="http://webservicesV2.bookcyprus.com/" />
</HotelAvailabilityRequest>