Sample Image and Description

The following sample shows a request for all images associated with a property, a General Information description, and Keyword descriptions for booking, cancellation, and location information.

Explanation

Code

Identifies the Image Viewer Web Service location.

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

Optional: For a secured reference in the response, insert the ReturnHTTPSRef parameter.

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

Defines the Host Access Profile, which is required to access Galileo Web Services. An HAP is required for any Image Viewer request that includes Hotel Descriptions.

<HostAccessProfile>HAP
</HostAccessProfile>

Begins the Image Viewer request.

<Properties>

Identifies the property ID.

<Property Id="02722">

Requests both General Information and a list of available keywords.

Note: All images are returned by default, unless a DescriptionOnly attribute is included in the request.

<Description AvailableKeywordList="true" GeneralInformation="true">

Booking, cancellation, and location keywords.

<Keyword>BOOK</Keyword>

<Keyword>CANC</Keyword>

<Keyword>LOCA</Keyword>

Ends the Image Viewer request.

</Description>

</Property>

</Properties>

</ImageSetRequest>

Response

Explanation

Code

The response returns all images, regardless of size, for the specified property.

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

 

<ImageSetResponse>

Property ID for the requested images and description.

<Property Id="02722">

Lists all images for the specified property.

Note: Secured response reference URLs will be https:

<Photos>

<Photo Caption="Exterior" Height="110" Size="I" Type="EXT" Width="150">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_EXT_01_I.jpg</URL>

</Photo>

<Photo Caption="Exterior" Height="146" Size="S" Type="EXT" Width="200">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_EXT_01_S.jpg</URL>

</Photo>

<Photo Caption="Exterior" Height="73" Size="T" Type="EXT" Width="100">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_EXT_01_T.jpg</URL>

</Photo>

<Photo Caption="Swimming Pool" Height="109" Size="I" Type="POOL" Width="150">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_POOL_01_I.jpg</URL>

</Photo>

<Photo Caption="Swimming Pool" Height="146" Size="S" Type="POOL" Width="200">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_POOL_01_S.jpg</URL>

</Photo>

<Photo Caption="Swimming Pool" Height="73" Size="T" Type="POOL" Width="100">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_POOL_01_T.jpg</URL>

</Photo>

<Photo Caption="Room" Height="110" Size="I" Type="ROOM" Width="150">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_ROOM_01_I.jpg</URL>

</Photo>

<Photo Caption="Room" Height="146" Size="S" Type="ROOM" Width="200">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_ROOM_01_S.jpg</URL>

</Photo>

<Photo Caption="Room" Height="73" Size="T" Type="ROOM" Width="100">

<URL>http://63.75.186.51/ImageServer/
0/02722/02722_ROOM_01_T.jpg</URL>

</Photo>

</Photos>

Begins the Hotel Description section. All descriptions are text only.

<Description>

The General Information description.

<GeneralInformation>

<HotelChainCode>HI</HotelChainCode>

<HotelName>HOLIDAY INN EXECUTIVE CENTER</HotelName>

<Phone>757 499-4400</Phone>

<Fax>757 473-0517</Fax>

<Address>

<Line>5655 GREENWICH ROAD¤</Line>

<Line>VIRGINIA BEACH¤VA¤23462¤</Line>

<Line>US¤</Line>

</Address>

<NearestAirp AirportCode="ORF" Distance="3-Miles"/>

</GeneralInformation>

The Keyword Descriptions.

<KeywordsInformation>

The Booking keyword response.

<Keyword Description="BOOKING GUIDELINES">

<KeywordInformation>

<Text>MAXIMUM NUMBER OF ROOMS PER SEGMENT-  4</Text>

<Text>MAXIMUM NUMBER OF CONSECUTIVE DAYS-  99</Text>

<Text>GROUP RATES ARE NET-NON-COMMISSSIONABLE AND ARE APPLICABLE TO</Text>

<Text>ALL BONA FIDE GROUPS THAT OCCUPY A MINIMUM OF 10 ROOMS BOOKED IN</Text>

<Text>MULTIPLE SEGMENTS AND/OR MULTIPLE PNR S FOR A RESERVED NIGHT.</Text>

<Text/>

</KeywordInformation>

</Keyword>

The Cancellation keyword response.

<Keyword Description="CANCELLATION POLICY">

<KeywordInformation>

<Text>CANCEL POLICIES VARY BY HOTEL.  SINCE A HOTEL CAN SET A</Text>

<Text>CANCELLATION POLICY OF UP TO 30 DAYS IN ADVANCE PLEASE REVIEW</Text>

<Text>POLICY PRIOR TO BOOKING TO AVOID POSSIBLE CHARGE.</Text>

<Text/>

</KeywordInformation>

</Keyword>

The Location keyword response.

Note:  If no data for a keyword exists, the keyword element is omitted from the response.

<Keyword Description="HOTEL LOCATION">

<KeywordInformation>

<Text>  NO PROPERTY INFORMATION THIS KEYWORD:  LOCA</Text>

</KeywordInformation>

</Keyword>

</KeywordsInformation>

Ends the Hotel Description response.

</Description>

Ends the response.

</Property>

</ImageSetResponse>

</RetrievePhotoInformationReturn>
</RetrievePhotoInformationResponse>