Sample Keywords Description

The following sample requests a description for a property using only available property keywords for credit card, guarantee, and location information for a specified check-in date. This sample also requests a hotel description specifically for the traveler's check-in date, <StartDate>.

See Sample Available Keywords for the full list of keywords.

Note: There are two types of keywords for hotel description: vendor keywords, which relate to a specific hotel chain, and property keywords, which relate to a specific hotel location. Property keywords are supported in the Hotel Image Service because images are requested by property numbers. Hotel descriptions requests using vendor keywords can be made using the Hotel Description 5.0 transaction in the XML Select Web Service.

 

Explanation

Code

Identifies the Image Viewer Web Service location.

<ImageSetRequest xmlns="http://www.galileo.com/GI_GDS">

Defines the Host Access Profile (HAP), which is required to access Galileo Web Services.

An HAP is required for Hotel Description requests, but not for Image requests.

<HostAccessProfile>HAP
</HostAccessProfile>

Begins the Image Viewer request.

<Properties>

Identifies the property ID. Requests descriptions of the property without any associated images.

<Property Id="00111" DescriptionOnly="true">

Requests a property description. An optional check-in date can be included to return descriptions for a future date. If a date is not included, the request defaults to the current date.

<Description StartDate="2003-07-24">

Requests credit card, guarantee, and meal information for the property. See Sample Available Keywords for a sample list of available keywords. Up to three keywords can be requested in one call.

To be valid, there can be no blank positions in the keyword request.

<Keyword>CRED</Keyword>

<Keyword>GUAR</Keyword>

<Keyword>LOCA</Keyword>

 

</Description>

Ends the Image Viewer request.

</Property>

</Properties>

</ImageSetRequest>

 

Response

Explanation

Code

The response returns the General Information description for the property.

<RetrievePhotoInformationResponse xmlns="http://webservices.galileo.com/
HotelImage">
<RetrievePhotoInformationReturn>

 

<ImageSetResponse>

Property ID for the requested hotel description.

<Property Id="00111">

Begins the property description.

<Description>

Begins the keyword responses. All hotel description responses are text only.

Note: If the Apollo or Galileo CRS does not contain data for a specific keyword, no elements for that keyword are returned in the response.

<KeywordsInformation>

The Credit Card Policies ("CRED") response. The response typically contains acceptable credits cards for guarantee, deposit payment, and actual payment.

 

 

 

<Keyword Description="CREDIT CARD POLICIES">

<KeywordInformation>

<Text>                 ACCEPTABLE CREDIT CARDS</Text>

<Text>GUARANTEE</Text>

<Text> AX CA CB DC EC IB JC VI XS</Text>

 <Text/>

<Text>DEPOSIT</Text>

<Text> AX CA CB DC EC IB JC VI XS</Text>

<Text/>

<Text>FORM OF PAYMENT</Text>

<Text> AX CA CB DC EC IB JC VI XS</Text>

<Text/>

</KeywordInformation>

</Keyword>

The Guarantee Policy ("GUAR") response.

<Keyword Description="GUARANTEE POLICY">

<KeywordInformation>

<Text>GUARANTEE INFORMATION</Text>

<Text>  LATE ARRIVAL TIME:  NOT APPLICABLE</Text>

</KeywordInformation>

</Keyword>

The Hotel Location Response. The response can contain information such as the distance from the city center, the type of location, and relationship to key reference points, if applicable.

<Keyword Description="HOTEL LOCATION">

<KeywordInformation>

<Text>PRIMARY CITY</Text>

<Text>  WASHINGTON                  08M SW  TRANS: L S B T R</Text>

<Text/>

<Text>GENERAL AREA</Text>

<Text>  SUBURB         BUSINESS DIST</Text>

<Text/>

<Text>OTHER POINTS</Text>

</KeywordInformation>

</Keyword>

Ends the response.

</KeywordsInformation>

</Description>

</Property>

</ImageSetResponse>

</RetrievePhotoInformationReturn>
</RetrievePhotoInformationResponse>