Sample Image with Size
The following sample requests images of a specific size for a property.
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 only photos of size small or smaller (e.g., thumbnail or intermediate) should be returned. Only photos of size S, T, or I will be returned. The following are valid size requests: A - All Note: These dimensions are approximate. Actual image size may vary by property. |
|
Ends the Image Viewer request. |
</ImageSetRequest> |
Response
Explanation |
Code |
|
<RetrievePhotoInformationResponse |
|
<ImageSetResponse> |
Property ID for which images were requested. |
<Property Id="02718"> |
The first photo response contains:
The URL gives the location of the photo. 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> |
|
The remaining images that match the request. |
<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="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> |
|
Ends the response. |
</Property> |
</ImageSetResponse> |
|
</RetrievePhotoInformationReturn> </RetrievePhotoInformationResponse> |