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 |
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 |
|
<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/ |
|
</Photo> |
|
<Photo Caption="Exterior" Height="146" Size="S" Type="EXT" Width="200"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Exterior" Height="73" Size="T" Type="EXT" Width="100"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Swimming Pool" Height="109" Size="I" Type="POOL" Width="150"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Swimming Pool" Height="146" Size="S" Type="POOL" Width="200"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Swimming Pool" Height="73" Size="T" Type="POOL" Width="100"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Room" Height="110" Size="I" Type="ROOM" Width="150"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Room" Height="146" Size="S" Type="ROOM" Width="200"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="Room" Height="73" Size="T" Type="ROOM" Width="100"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</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- |
|
<Text>MAXIMUM NUMBER OF
CONSECUTIVE DAYS- |
|
<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. |
|
<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: |
<Keyword Description="HOTEL LOCATION"> |
<KeywordInformation> |
|
<Text> |
|
</KeywordInformation> |
|
</Keyword> |
|
</KeywordsInformation> |
|
Ends the Hotel Description response. |
</Description> |
Ends the response. |
</Property> |
</ImageSetResponse> |
|
</RetrievePhotoInformationReturn> |