PerfectXML
Click here for a complete list of operations.
HotelAvailabilitySearch
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /perfectxml.asmx HTTP/1.1
Host: webservices.perfectibe.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.perfectibe.com/HotelAvailabilitySearch"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<HotelAvailabilitySearch xmlns="http://webservices.perfectibe.com/">
<HotelAvailabilitySearchRQ>
<Authentication>
<UserName>string</UserName>
<Password>string</Password>
<WebSiteID>string</WebSiteID>
<APIKey>string</APIKey>
<APIRev>string</APIRev>
<UserID>string</UserID>
<UserHostAddress>string</UserHostAddress>
<UserAgent>string</UserAgent>
<UserHostName>string</UserHostName>
</Authentication>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<StarRating>int</StarRating>
<HotelID>string</HotelID>
<HotelName>string</HotelName>
<StreetAddress>string</StreetAddress>
<CityName>string</CityName>
<CityCode>string</CityCode>
<StateCode>string</StateCode>
<CountryCode>string</CountryCode>
<PhoneNumber>string</PhoneNumber>
<ChainCode>string</ChainCode>
<POIKey>string</POIKey>
<PointOfReferenceName>string</PointOfReferenceName>
<Latitude>string</Latitude>
<Longitude>string</Longitude>
<SearchRadius>decimal</SearchRadius>
<SearchRadiusUnit>string</SearchRadiusUnit>
<RoomDetailAry>
<RoomDetail>
<NumberOfAdults>int</NumberOfAdults>
<NumberOfChildren>int</NumberOfChildren>
<ChildrenAges>string</ChildrenAges>
</RoomDetail>
<RoomDetail>
<NumberOfAdults>int</NumberOfAdults>
<NumberOfChildren>int</NumberOfChildren>
<ChildrenAges>string</ChildrenAges>
</RoomDetail>
</RoomDetailAry>
<ResultCount>int</ResultCount>
<SalesChannel>string</SalesChannel>
<Refundable>boolean</Refundable>
</HotelAvailabilitySearchRQ>
</HotelAvailabilitySearch>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<HotelAvailabilitySearchResponse xmlns="http://webservices.perfectibe.com/">
<HotelAvailabilitySearchResult>
<Errors>
<Code>string</Code>
<Description>string</Description>
</Errors>
<HotelInfoAry>
<HotelInfo>
<SupplierName>string</SupplierName>
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<HotelName>string</HotelName>
<HotelDescription>string</HotelDescription>
<ChainCode>string</ChainCode>
<ChainName>string</ChainName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<CountryCode>string</CountryCode>
<Telephone>string</Telephone>
<Fax>string</Fax>
<AirportCode>string</AirportCode>
<HotelRating>string</HotelRating>
<HotelLowRate>decimal</HotelLowRate>
<HotelHighRate>decimal</HotelHighRate>
<HotelThumbURL>string</HotelThumbURL>
<HotelImageURL>string</HotelImageURL>
<HotelLatitude>decimal</HotelLatitude>
<HotelLongitude>decimal</HotelLongitude>
<HotelAlternateID>string</HotelAlternateID>
<HotelType>string</HotelType>
<HotelAmenities>long</HotelAmenities>
<HotelAttributes>string</HotelAttributes>
<HotelCurrency>string</HotelCurrency>
<HotelROECurrency>string</HotelROECurrency>
<HotelROE>string</HotelROE>
<StarRating>string</StarRating>
<NeighborhoodPOIKey>string</NeighborhoodPOIKey>
<NeighborhoodName>string</NeighborhoodName>
<TripAdvisorRating>decimal</TripAdvisorRating>
<TripAdvisorRatingCount>string</TripAdvisorRatingCount>
<TripAdvisorRatingUrl>string</TripAdvisorRatingUrl>
<IsPackageRate>string</IsPackageRate>
<NonRefundable>string</NonRefundable>
<MarketingFeeIncentivesAry xsi:nil="true" />
<HotelLowTax>string</HotelLowTax>
<HotelLowTotal>string</HotelLowTotal>
<HotelHighTax>string</HotelHighTax>
<HotelHighTotal>string</HotelHighTotal>
<HotelPropertyFee>string</HotelPropertyFee>
<HotelStrikethroughRate>string</HotelStrikethroughRate>
<IsCorporateRate>string</IsCorporateRate>
<IsMemberRate>string</IsMemberRate>
<IsPreferredRate>string</IsPreferredRate>
<IsPayAtHotel>string</IsPayAtHotel>
</HotelInfo>
<HotelInfo>
<SupplierName>string</SupplierName>
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<HotelName>string</HotelName>
<HotelDescription>string</HotelDescription>
<ChainCode>string</ChainCode>
<ChainName>string</ChainName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<CountryCode>string</CountryCode>
<Telephone>string</Telephone>
<Fax>string</Fax>
<AirportCode>string</AirportCode>
<HotelRating>string</HotelRating>
<HotelLowRate>decimal</HotelLowRate>
<HotelHighRate>decimal</HotelHighRate>
<HotelThumbURL>string</HotelThumbURL>
<HotelImageURL>string</HotelImageURL>
<HotelLatitude>decimal</HotelLatitude>
<HotelLongitude>decimal</HotelLongitude>
<HotelAlternateID>string</HotelAlternateID>
<HotelType>string</HotelType>
<HotelAmenities>long</HotelAmenities>
<HotelAttributes>string</HotelAttributes>
<HotelCurrency>string</HotelCurrency>
<HotelROECurrency>string</HotelROECurrency>
<HotelROE>string</HotelROE>
<StarRating>string</StarRating>
<NeighborhoodPOIKey>string</NeighborhoodPOIKey>
<NeighborhoodName>string</NeighborhoodName>
<TripAdvisorRating>decimal</TripAdvisorRating>
<TripAdvisorRatingCount>string</TripAdvisorRatingCount>
<TripAdvisorRatingUrl>string</TripAdvisorRatingUrl>
<IsPackageRate>string</IsPackageRate>
<NonRefundable>string</NonRefundable>
<MarketingFeeIncentivesAry xsi:nil="true" />
<HotelLowTax>string</HotelLowTax>
<HotelLowTotal>string</HotelLowTotal>
<HotelHighTax>string</HotelHighTax>
<HotelHighTotal>string</HotelHighTotal>
<HotelPropertyFee>string</HotelPropertyFee>
<HotelStrikethroughRate>string</HotelStrikethroughRate>
<IsCorporateRate>string</IsCorporateRate>
<IsMemberRate>string</IsMemberRate>
<IsPreferredRate>string</IsPreferredRate>
<IsPayAtHotel>string</IsPayAtHotel>
</HotelInfo>
</HotelInfoAry>
</HotelAvailabilitySearchResult>
</HotelAvailabilitySearchResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /perfectxml.asmx HTTP/1.1
Host: webservices.perfectibe.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<HotelAvailabilitySearch xmlns="http://webservices.perfectibe.com/">
<HotelAvailabilitySearchRQ>
<Authentication>
<UserName>string</UserName>
<Password>string</Password>
<WebSiteID>string</WebSiteID>
<APIKey>string</APIKey>
<APIRev>string</APIRev>
<UserID>string</UserID>
<UserHostAddress>string</UserHostAddress>
<UserAgent>string</UserAgent>
<UserHostName>string</UserHostName>
</Authentication>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<StarRating>int</StarRating>
<HotelID>string</HotelID>
<HotelName>string</HotelName>
<StreetAddress>string</StreetAddress>
<CityName>string</CityName>
<CityCode>string</CityCode>
<StateCode>string</StateCode>
<CountryCode>string</CountryCode>
<PhoneNumber>string</PhoneNumber>
<ChainCode>string</ChainCode>
<POIKey>string</POIKey>
<PointOfReferenceName>string</PointOfReferenceName>
<Latitude>string</Latitude>
<Longitude>string</Longitude>
<SearchRadius>decimal</SearchRadius>
<SearchRadiusUnit>string</SearchRadiusUnit>
<RoomDetailAry>
<RoomDetail>
<NumberOfAdults>int</NumberOfAdults>
<NumberOfChildren>int</NumberOfChildren>
<ChildrenAges>string</ChildrenAges>
</RoomDetail>
<RoomDetail>
<NumberOfAdults>int</NumberOfAdults>
<NumberOfChildren>int</NumberOfChildren>
<ChildrenAges>string</ChildrenAges>
</RoomDetail>
</RoomDetailAry>
<ResultCount>int</ResultCount>
<SalesChannel>string</SalesChannel>
<Refundable>boolean</Refundable>
</HotelAvailabilitySearchRQ>
</HotelAvailabilitySearch>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<HotelAvailabilitySearchResponse xmlns="http://webservices.perfectibe.com/">
<HotelAvailabilitySearchResult>
<Errors>
<Code>string</Code>
<Description>string</Description>
</Errors>
<HotelInfoAry>
<HotelInfo>
<SupplierName>string</SupplierName>
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<HotelName>string</HotelName>
<HotelDescription>string</HotelDescription>
<ChainCode>string</ChainCode>
<ChainName>string</ChainName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<CountryCode>string</CountryCode>
<Telephone>string</Telephone>
<Fax>string</Fax>
<AirportCode>string</AirportCode>
<HotelRating>string</HotelRating>
<HotelLowRate>decimal</HotelLowRate>
<HotelHighRate>decimal</HotelHighRate>
<HotelThumbURL>string</HotelThumbURL>
<HotelImageURL>string</HotelImageURL>
<HotelLatitude>decimal</HotelLatitude>
<HotelLongitude>decimal</HotelLongitude>
<HotelAlternateID>string</HotelAlternateID>
<HotelType>string</HotelType>
<HotelAmenities>long</HotelAmenities>
<HotelAttributes>string</HotelAttributes>
<HotelCurrency>string</HotelCurrency>
<HotelROECurrency>string</HotelROECurrency>
<HotelROE>string</HotelROE>
<StarRating>string</StarRating>
<NeighborhoodPOIKey>string</NeighborhoodPOIKey>
<NeighborhoodName>string</NeighborhoodName>
<TripAdvisorRating>decimal</TripAdvisorRating>
<TripAdvisorRatingCount>string</TripAdvisorRatingCount>
<TripAdvisorRatingUrl>string</TripAdvisorRatingUrl>
<IsPackageRate>string</IsPackageRate>
<NonRefundable>string</NonRefundable>
<MarketingFeeIncentivesAry xsi:nil="true" />
<HotelLowTax>string</HotelLowTax>
<HotelLowTotal>string</HotelLowTotal>
<HotelHighTax>string</HotelHighTax>
<HotelHighTotal>string</HotelHighTotal>
<HotelPropertyFee>string</HotelPropertyFee>
<HotelStrikethroughRate>string</HotelStrikethroughRate>
<IsCorporateRate>string</IsCorporateRate>
<IsMemberRate>string</IsMemberRate>
<IsPreferredRate>string</IsPreferredRate>
<IsPayAtHotel>string</IsPayAtHotel>
</HotelInfo>
<HotelInfo>
<SupplierName>string</SupplierName>
<HotelID>string</HotelID>
<HotelKey>string</HotelKey>
<HotelName>string</HotelName>
<HotelDescription>string</HotelDescription>
<ChainCode>string</ChainCode>
<ChainName>string</ChainName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<CountryCode>string</CountryCode>
<Telephone>string</Telephone>
<Fax>string</Fax>
<AirportCode>string</AirportCode>
<HotelRating>string</HotelRating>
<HotelLowRate>decimal</HotelLowRate>
<HotelHighRate>decimal</HotelHighRate>
<HotelThumbURL>string</HotelThumbURL>
<HotelImageURL>string</HotelImageURL>
<HotelLatitude>decimal</HotelLatitude>
<HotelLongitude>decimal</HotelLongitude>
<HotelAlternateID>string</HotelAlternateID>
<HotelType>string</HotelType>
<HotelAmenities>long</HotelAmenities>
<HotelAttributes>string</HotelAttributes>
<HotelCurrency>string</HotelCurrency>
<HotelROECurrency>string</HotelROECurrency>
<HotelROE>string</HotelROE>
<StarRating>string</StarRating>
<NeighborhoodPOIKey>string</NeighborhoodPOIKey>
<NeighborhoodName>string</NeighborhoodName>
<TripAdvisorRating>decimal</TripAdvisorRating>
<TripAdvisorRatingCount>string</TripAdvisorRatingCount>
<TripAdvisorRatingUrl>string</TripAdvisorRatingUrl>
<IsPackageRate>string</IsPackageRate>
<NonRefundable>string</NonRefundable>
<MarketingFeeIncentivesAry xsi:nil="true" />
<HotelLowTax>string</HotelLowTax>
<HotelLowTotal>string</HotelLowTotal>
<HotelHighTax>string</HotelHighTax>
<HotelHighTotal>string</HotelHighTotal>
<HotelPropertyFee>string</HotelPropertyFee>
<HotelStrikethroughRate>string</HotelStrikethroughRate>
<IsCorporateRate>string</IsCorporateRate>
<IsMemberRate>string</IsMemberRate>
<IsPreferredRate>string</IsPreferredRate>
<IsPayAtHotel>string</IsPayAtHotel>
</HotelInfo>
</HotelInfoAry>
</HotelAvailabilitySearchResult>
</HotelAvailabilitySearchResponse>
</soap12:Body>
</soap12:Envelope>