Future deprecation of HotelInvNotif photo functionality
Adding and modifying photos through OTA_HotelInvNotif entered the sunset phase as of September 16, 2020. This means that to keep managing photos you must switch to the Photo API before September 16, 2021, when this functionality is fully depecrated.
Description¶
GuestRoom¶
Fields¶
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
GuestRoom/Description |
Description and images for room type. | object | 1..1 | - |
Description /Text |
Specifies an optional (more descriptive) name for the room type. | string | 0..1 | You can retrieve accepted room names per room type and language by using the room name endpoint. Default name is based on Room Type[@RoomType] . |
Description /Image |
The URL for a room photo. We'll download from this URL and upload to Booking.com servers. | string | 0..1 | Uploading photos is asynchronous. We recommend uploading at least 4 photos per room, with a size of at least 2048x1536 pixels, in landscape orientation. |
Description /Image /@ImageTagID |
One or more comma-separated Image Tag Type Codes that specify what the photo shows. | CSV/ITT | 0..1 | Example: 1,5,116 |
XML¶
<Description>
<Image>http://pathtoimage/doublemer_room001.jpg</Image>
<Text>Deluxe Double Room with Sea View</Text>
</Description>
RatePlan¶
Fields¶
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
RatePlan/Description |
- | object | 1..1 | - |
Description /@Name |
A custom name for the rate plan. | string | 1..1 | Rate plan names must be unique. Creating a rate plan with a duplicate name results in an error. |
XML¶
<Description
Name="1st night non-refundable Rate with Breakfast for 1 person"/>