RetrievePhotoInformation
RetrievePhotoInformation is the only method associated with the Image Viewer Web Service. This method can be used to request of images and/or hotel description text.
See the Samples section for examples of the requests for various types of image or description requests, as well as combined image and data requests. The structure of XML is further defined in the schema files.
Parameters |
Description |
HostAccessProfile |
String representing the Host Access Profile, which is provided to Galileo Web Services subscribers. |
ReturnHTTPSRef=boolean |
Optional. TRUE if the response URLs uses secured site (https) references. See the following SOAP example of a Secured Request and Response. |
PropertyID |
The property identification number (RoomMaster ID). If the associated DescriptionOnly property is set to TRUE, images are not requested.® |
Description GeneralInformation |
TRUE if a General Information description from RoomMaster is requested for the property. |
Keyword |
Keyword codes from the list of available keywords. Blank if no keywords are included. |
SOAP
The following samples illustrate how to use RetrievePhotoInformation using SOAP:
-
The first example demonstrates an unsecured request for all associated images, a general information description, and three keyword descriptions.
-
The second example demonstrates secured request for a Virtual Tour.
The placeholders shown need to be replaced with actual values.
Unsecured Request
<soapenv:Envelope
</soapenv:Envelope> |
Unsecured Response
See the Samples section for examples of the response XML. See gzip Encoding for information about how to modify SOAP Header to enable gzip compression in the response.
<soapenv:Envelope
</soapenv:Envelope> |
Secured Request
The ReturnHTTPSRef parameter ensures secured site reference.
<soapenv:Envelope
</soapenv:Envelope> |
Secured Response
This demonstrates a secure URL in the response for a virtual tour.
<soapenv:Envelope
</soapenv:Envelope> |