Sample General Information Description
The following sample requests a General Information description for a property. General Information provides an abridged version of the hotel description or chain description.
Explanation |
Code |
Identifies the Image Viewer Web Service location. |
<ImageSetRequest xmlns="http://www.galileo.com/GI_GDS"> |
Defines the Host Access Profile, which is required to access Galileo Web Services. An HAP is required for Hotel Description requests, but not for Image requests. |
<HostAccessProfile>HAP |
Begins the Image Viewer request. |
<Properties> |
Identifies the property ID. Requests descriptions of the property without any associated images. |
<Property Id="02722" DescriptionOnly="true"> |
|
</Properties> |
Requests a General Information description response. |
<Description GeneralInformation="true"> |
|
</Description> |
Ends the Image Viewer request. |
</ImageSetRequest> |
Response
Explanation |
Code |
The response returns the General Information description for the property. |
<RetrievePhotoInformationResponse xmlns="http://webservices.galileo.com/ |
|
<ImageSetResponse> |
Property ID the requested description. |
<Property Id="02722"> |
The property description. |
<Description> |
Specifies a general information description. |
<GeneralInformation> |
The chain code can be decoded using Travel Codes Translator eBL. |
<HotelChainCode>HI |
The hotel name, address, and contact information. |
<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> |
|
The distance from the nearest airport. |
<NearestAirp AirportCode="ORF" Distance="3-Miles"/> |
Ends the response. |
</GeneralInformation> |
</Description> |
|
</Property> |
|
</ImageSetResponse> |
|
</RetrievePhotoInformationReturn> |