API solution no longer usable

Managing photos through OTA_HotelDescriptiveContentNotif, OTA_HotelInvNotif, and OTA_HotelDescriptiveInfo sunsetted on April 1, 2022. Please see the deprecation policy documentation for more details.

This documentation section concerns an API solution that is no longer usable. It will be removed on June 1, 2022. Until then, you can still access it by clicking here

ImageFormat

Fields

Field Description Type Min/max Notes
ImageItem/
ImageFormat
Property photo URL and sort order in property gallery. object 1..1 -
ImageFormat/
@Main
Specifies whether the image should be displayed as the main photo for the property. int 0..1 1 = true, 0 = false. Default: 0
ImageFormat/
@Sort
Specifies the sorting position of the image (where 1 is the highest position). int 1..1 -
ImageFormat/
URL
The source URL for the image. We will download from this URL and upload to the Booking.com server. string 1..1 Images are uploaded asynchronously. To check if all images have finished uploading, use /ota/OTA_HotelSummaryNotif.

XML

<ImageFormat Main="1" Sort="1">
  <URL>https://pathtoimage/hotelimage001.jpg</URL>
</ImageFormat>
...
<ImageFormat Sort="2">
  <URL>https://pathtoimage/hotelimage002.jpg</URL>
</ImageFormat>