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>