Get Hotel Image

 

The Get Hotel Image API returns the default image for a given Sabre hotel(s).

API Information

Target Audience
Sabre Travel Network
Current Version
1.0.0
Authentication
Session Token
Service Action Code
GetHotelImageRQ

In detail: the API returns the default image url for a given Sabre hotel, along with the associated meta data including image type, caption, and last updated timestamp.

Use Guidelines

Use of Sabre APIs must comply with the terms of your agreement with Sabre, its authorized purposes and the following use guidelines which may be amended by Sabre from time to time:

  • No caching allowed. In order to ensure that you have access to the most current visual content to display and reflect the property, you may not cache or store images or other visual content. Our hotel properties and chains are regularly updating their content in the Sabre Visual Content Management Platform (VCMP).
  • No onward distribution allowed. You may not redistribute the visual content or otherwise make it available to other parties not authorized under your Sabre Subscriber Agreement. The visual content may only be used in conjunction with your hotel shopping and booking activity in the Sabre system.
  • No compilations. You may not make or publish compilations of the visual content.
  • Please note that Sabre may change the content that is available at any time. Some content distributors and/or hotel companies may preclude Sabre from providing their licensed content to some or all third parties or limit the authorized usage. As such, Sabre does not provide images for all properties and the hotels affected may change from time to time.
  • Use of visual content of the APIs in violation of these use guidelines or the terms of your agreement with Sabre is misuse of the Sabre System and access may be terminated by Sabre.

The Get Hotel Image API provides access to image URLs in our Visual Content Management Platform (VCMP), which is a multi-sourced database of hotel property photos, including the associated metadata. Pictures are available in 5 sizes, categorized by OpenTravel's 23 Picture Categories (PIC) translated in up to 8 languages, and with free-text captions. The API also includes the "last updated" timestamp, and ordinals for image sequencing.

Image Sizes:

  • Original
  • Thumbnail
  • Small
  • Medium
  • Large

OpenTravel PIC name/code:

  • Exterior View - 1
  • Lobby view - 2
  • Pool view - 3
  • Restaurant - 4
  • Health Club - 5
  • Guest Room - 6
  • Suite - 7
  • Meeting Room - 8
  • Ballroom - 9
  • Golf Course - 10
  • Beach - 11
  • Spa - 12
  • Bar / Lounge - 13
  • Recreational - 14
  • Logo - 15
  • Basics - 16
  • Map - 17
  • Promotional - 18
  • Hotel News - 19
  • Miscellaneous - 20
  • Guest Room Amenity - 21
  • Property Amenity - 22
  • Business Center - 23

Languages for PIC name:

  • English (EN)
  • French (FR)
  • Spanish (ES)
  • Italian (IT)
  • German (DE)
  • Simplified Chinese (ZH)
  • Japanese (JA)
  • Russian (RU)
  • Portuguese (PT)
  • Traditional Chinese (ZH_TW)

Free text caption (examples):

  • Enjoy the luxurious space of the Double Queen room
  • Whale watching from our beautiful infinity pool.

Sample Request

<!-- Gets one image of type thumbnail for hotel 11111 with captions in English-->
<GetHotelImageRQ xmlns="http://services.sabre.com/hotel/image/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://services.sabre.com/hotel/image/v1 GetHotelImageRQ.xsd">
    <HotelRefs>
        <HotelRef HotelCode="11111" CodeContext="Sabre" />
    </HotelRefs>
    <ImageRef Type="THUMBNAIL" CategoryCode="3" LanguageCode="EN" />
</GetHotelImageRQ>

Sample Response

<GetHotelImageRS xmlns="http://services.sabre.com/hotel/image/v1">
    <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_02" status="Complete">
        <Success timeStamp="2016-02-25T14:29:56.474-06:00" />
    </ApplicationResults>
    <HotelImageInfos>
        <HotelImageInfo>
            <HotelInfo HotelCode="11111" CodeContext="Sabre" ChainCode="CM" Marketer="PEGASUS" Logo="http://vcmp.dev.sabre.com/image/upload/t_vcmp_logo/v1443414372/hotel/l/pegasus/shhl48bm16dhi9burbsq.jpg" />
            <ImageItem Id="2143679" Ordinal="0" Format="JPG" LastModifedDate="2016-02-11">
                <Image Url="http://vcmp.sgdcelab.sabre.com/image/upload/t_vcmp_thumb/hotel/i/11111/dpik0p5b3a9pe8yna62c.jpg" Type="THUMBNAIL" Height="100" Width="150" />
                <Category CategoryCode="3">
                    <Description>
                        <Text Language="en">Pool view</Text>
                    </Description>
                </Category>
                <AdditionalInfo>
                    <Info Type="CAPTION">
                        <Description>
                            <Text Language="en">Pool View</Text>
                        </Description>
                    </Info>
                </AdditionalInfo>
            </ImageItem>
        </HotelImageInfo>
    </HotelImageInfos>
</GetHotelImageRS>

If you are a Sabre customer currently using Sabre APIs in production, access Resources

Docs Navigation