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.

  <Properties>

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
T - Thumbnail
I - Minimum
S - Small
M - Medium
L - Large
E - Extra Large

    <Property Id="00011" ImageGallery="true" SignaturePhoto="true" SignatureSize="A - All">

Ends the Hotel Image request.

    </Property>

  </Properties>

 

 

</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 caption that goes with the photo

  • Photo size (extra large)

  • Photo type (EXT = Exterior)

  • Width

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/
0/00011/00011_EXT_01_E.jpg</URL>

</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/
0/00011/00011_EXT_01_I.jpg</URL>

</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/
0/00011/00011_EXT_01_L.jpg</URL>

</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/
0/00011/00011_EXT_01_M.jpg</URL>

</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/
0/00011/00011_EXT_01_S.jpg</URL>

</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/
0/00011/00011_EXT_01_T.jpg</URL>

</Photo>

The URL of the gallery for this property ID.

<Gallery>

<URL>http://63.75.186.51/ImageServer/
0/00011/IGTemplate1.html</URL>

</Gallery>

Ends the response.

</Photos>

</Property>

</ImageSetResponse>

</RetrievePhotoInformationReturn>

</RetrievePhotoInformationResponse>