Update Hotel Media

The UpdateHotelMedia API allows image-content suppliers to provide hotel media content directly to Sabre's Visual Content Management Platform.

API Information

Target Audience
Sabre Travel Network
Current Version
v1.0.0
Authentication
Sessionless Token
Method/Endpoint
POST /v1.0.0/update/hotelmedia

Resources

Business use case

Using this API, image-content suppliers will be able to update hotel media for individual properties through the Visual Content Management Platform.

Ready to try the APIs?

Ready to get your hands dirty?

 Register Try the APIs

Ready to launch?

Ready to step up to the production level service? We're standing by to fit you for your spacesuit.

Request Production Key

Sample code

Request

This example demonstrates a request for: a max of one images of type thumbnail for hotel 11111 with English captions.

https://api.havail.sabre.com/v1.0.0/update/hotelmedia
{
  "UpdateHotelMediaRQ": {
    "HotelMediaInfos": {
      "HotelMediaInfo": {
        "HotelInfo": {
          "HotelCode": "${HOTEL_CODE}"
        },
        "MediaItems": {
          "MediaItem": [
            {
              "Id": 123412,
              "Image": {
                "Url": "${IMAGE_URL}",
                "Action": "${ACTION}",
                "LastModifiedDate": "2016-08-04-05:00"
              },
              "Category": {
                "Code": 1
              },
              "AdditionalInfo": {
                "Info": [
                  {
                    "Type": "CAPTION",
                    "Description": {
                      "Text": [
                        {
                          "Language": "en",
                          "value": "exterior"
                        },
                        {
                          "Language": "es",
                          "value": "exterior"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  }
}

Response

{
  "UpdateHotelMediaRS": {
    "ApplicationResults": {
      "status": "Complete",
      "Success": [
        {
          "timeStamp": "2018-07-04T04:48:08.814-05:00"
        }
      ]
    }
  }
}

Errors

An HTTP status code is always returned. For information about the error response format, see the: Sabre APIs: errors page.

Docs Navigation