Skip Navigation

Get Hotel Media (v2.0.0)

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

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

Target Audience
Travel Agency
API Version
v2.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.
  • 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 xmlns="http://services.sabre.com/hotel/media/v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.0" xsi:schemaLocation="http://services.sabre.com/hotel/media/v2 GetHotelMediaRQ_V2.xsd">
    <HotelRefs>
        <HotelRef HotelCode="59845" CodeContext="Sabre"/>
    </HotelRefs>
    <MediaRef MaxItems="1">
        <MediaTypes>
            <Images>
                <Image Type="ORIGINAL"/>
            </Images>
            <PanoramicMedias>
                <PanoramicMedia Type="HD360"/>
            </PanoramicMedias>
            <Videos>
                <Video Type="VIDEO360"/>
            </Videos>
        </MediaTypes>
        <AdditionalInfo>
            <Info Type="CAPTION">true</Info>
        </AdditionalInfo>
        <Languages>
            <Language Code="EN"/>
        </Languages>
    </MediaRef>
</GetHotelMediaRQ>
Sample Response
<GetHotelMediaRS xmlns="http://services.sabre.com/hotel/media/v2">
    <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_02" status="Complete">
        <Success timeStamp="2017-01-04T03:39:09.217-06:00"/>
    </ApplicationResults>
    <HotelMediaInfos>
        <HotelMediaInfo>
            <HotelInfo ChainCode="WV" CodeContext="Sabre" HotelCode="59845" Marketer="IHOTELRS"/>
            <MediaItems>
                <MediaItem Format="JPG" Id="4302419" LastModifedDate="2017-01-02-06:00" Ordinal="1">
                    <ImageItems>
                        <Image Height="421" Type="ORIGINAL" Url="http://vcmp.sgdcelab.sabre.com/image/upload/hotel/i/59845/sdc9nsa0gfauj5miyjjz.jpg" Width="1024"/>
                    </ImageItems>
                    <Category CategoryCode="1">
                        <Description>
                            <Text Language="en">Exterior view</Text>
                        </Description>
                    </Category>
                    <AdditionalInfo/>
                </MediaItem>
                <MediaItem Format="ASPX" Id="4302465" LastModifedDate="2017-01-02-06:00" Ordinal="1">
                    <PanoramicMediasItems>
                        <PanoramicMedia Height="0" Type="HD360" Url="URl" Width="0"/>
                    </PanoramicMediasItems>
                    <Category CategoryCode="11">
                        <Description>
                            <Text Language="en">Beach</Text>
                        </Description>
                    </Category>
                    <AdditionalInfo/>
                </MediaItem>
                <MediaItem Format="MP4" Id="4302507" LastModifedDate="2017-01-02-06:00" Ordinal="0">
                    <VideosItems>
                        <Video Height="0" Type="VIDEO360" Url="http://iceportaldata.s3.amazonaws.com/brochures/513/513-01-Slow.mp4" Width="0"/>
                    </VideosItems>
                    <Category CategoryCode="20">
                        <Description>
                            <Text Language="en">Miscellaneous</Text>
                        </Description>
                    </Category>
                    <AdditionalInfo/>
                </MediaItem>
            </MediaItems>
        </HotelMediaInfo>
    </HotelMediaInfos>
</GetHotelMediaRS>