Skip Navigation

Get Hotel Media (v1.0.0)

v1.0.0
Hotel
Search
SOAP API
Travel Agency

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

Deprecated API

Deprecated September 30, 2019 - Please refer to the Content Services for Lodging Product Collection for the most recent API.

The Get Hotel Media (GetHotelMediaRQ) API returns the available image content for a given Sabre Hotel(s).

Target Audience
Travel Agency
API Version
v1.0.0
Authentication
Session Token
Service Action Code
GetHotelMediaRQ

Important: On June 24, 2019, Sabre will be releasing Content Services for Lodging, a new set of flexible lodging APIs delivering millions of property options, data normalization, and new search and preferencing capabilities. Please be aware that the Sabre Hotel APIs referenced below will be sunset on September 30, 2019. If you need an extension to this date, please reach out to your Sabre Account Director. We encourage customers to start planning their migration to Sabre’s Content Services Lodging APIs. To learn more, check out our latest blog post about the value that Content Services for Lodging can bring to your company.


In detail: the API includes image urls for accessing image content in multiple sizes, along with the associated meta data including image type, caption, and last updated timestamp and suggested image ordering. The content is available in multiple languages and can be used to create flexible requests/responses to access the image content of Sabre Hotels.

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.
  • 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 Media 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
<GetHotelMediaRQ version="1.0.0">
    <HotelRefs>
        <HotelRef HotelCode="11111" CodeContext="Sabre">
            <ImageRef MaxImages="1">
                <Images>
                    <Image Type="THUMBNAIL"/>
                </Images>
                <Categories>
                    <Category Code="1"/>
                </Categories>
                <AdditionalInfo>
                    <Info Type="CAPTION">true</Info>
                </AdditionalInfo>
                <Languages>
                    <Language Code="EN"/>
                </Languages>
            </ImageRef>
        </HotelRef>
    </HotelRefs>
</GetHotelMediaRQ>
Sample Response
<GetHotelMediaRS>
    <ApplicationResults status="Complete">
        <Success timeStamp="2015-09-16T06:58:48.262-05:00"/>
    </ApplicationResults>
    <HotelMediaInfos>
        <HotelMediaInfo>
            <HotelInfo HotelCode="11111" CodeContext="Sabre" ChainCode="CM" Marketer="PEGASUS" Logo="http://vcmp-hotels.sabre.com/image/t_vcmp_logo/hotel/l/PEGASUS.jpg"/>
            <ImageItems>
                <ImageItem Id="10335" Ordinal="0" Format="JPG" LastModifedDate="2015-09-14-05:00">
                    <Images>
                        <Image Url="http://vcmp-hotels.sabre.com/image/hotel/i/11111/yxu9kg23x49moqbf4vo6.jpg" Type="THUMBNAIL" Height="50" Width="75"/>
                    </Images>
                    <Category/>
                    <AdditionalInfo>
                        <Info Type="CAPTION">
                            <Description>
                                <Text Language="en">Exterior</Text>
                            </Description>
                        </Info>
                    </AdditionalInfo>
                </ImageItem>
            </ImageItems>
        </HotelMediaInfo>
    </HotelMediaInfos>
</GetHotelMediaRS>