Get Hotel Media

 

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

API Information

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

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. 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 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.

Note: This service is currently available in limited regions only (Americas and EMEA) and requires activation. Please contact your Sabre Account Representative for assistance.

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>

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

Docs Navigation