Sample Signature Image
The following sample requests the image gallery URL and signature images.
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> |
Begins the Image Viewer request. |
|
Identifies the property ID, specifies that the image gallery URL should be returned, and requests all signature photos. The following are valid size requests: A - All |
|
Ends the Hotel Image request. |
|
|
</ImageSetRequest> |
Response
Explanation |
Code |
The response returns the image gallery URL and signature image or images. |
<RetrievePhotoInformationResponse xmlns="http://webservices.galileo.com/HotelImage"> <RetrievePhotoInformationReturn> |
|
<ImageSetResponse> |
Property ID for which signature images were requested. |
<Property Id="00011"> |
Begins the Photos response. |
<Photos> |
The photo responses contain:
The URL gives the location of the photo. The response is the same as a standard image response, but contains a Signature attribute set to TRUE. Note: Secured response reference URLs will be https: |
<Photo Caption="The Westin St. Francis Hotel" Height="480" Signature="true" Size="E" Type="EXT" Width="375"> |
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="The Westin St. Francis Hotel" Height="150" Signature="true" Size="I" Type="EXT" Width="117"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="The Westin St. Francis Hotel" Height="384" Signature="true" Size="L" Type="EXT" Width="300"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="The Westin St. Francis Hotel" Height="250" Signature="true" Size="M" Type="EXT" Width="195"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="The Westin St. Francis Hotel" Height="200" Signature="true" Size="S" Type="EXT" Width="156"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
<Photo Caption="The Westin St. Francis Hotel" Height="100" Signature="true" Size="T" Type="EXT" Width="78"> |
|
<URL>http://63.75.186.51/ImageServer/ |
|
</Photo> |
|
The URL of the gallery for this property ID. |
<Gallery> |
<URL>http://63.75.186.51/ImageServer/ |
|
</Gallery> |
|
Ends the response. |
</Photos> |
</Property> |
|
</ImageSetResponse> |
|
</RetrievePhotoInformationReturn> </RetrievePhotoInformationResponse> |