Content is outdated

This documentation section will soon become deprecated. To know more about room type and rate plan managmeent, consult the new room type and management API management documentation.

Activate a room type

If a room type has been deactivated, you may want to activate it again. Use /ota/OTA_HotelInvNotif to activate room types.

Activating a room type does not return roomrates and availability

If you activate a deactivated room type, you must create new roomrates (products) and then push availability again.

Before you start

You need:

Request

HTTP request

POST https://supply-xml.booking.com/hotels/ota/OTA_HotelInvNotif

Request body

Provide an OTA_HotelInvNotifRQ object in the request body. Example:

<OTA_HotelInvNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/2014B/OTA_HotelInvNotifRQ.xsd" version="6.000" id="OTA2014B" TransactionIdentifier="5" Target="Production">
  <SellableProducts HotelCode="{PropertyID}">
    <SellableProduct InvNotifType="Overlay" InvStatusType="Active" InvCode="{RoomTypeID}">
      <GuestRoom />
    </SellableProduct>
  </SellableProducts>
</OTA_HotelInvNotifRQ>

Response

The response contains an OTA_HotelInvNotifRS object:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelInvNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvNotifRS.xsd" TimeStamp="2019-07-31T13:46:52-00:00" Target="Production" Version="3.000">
    <Success />
</OTA_HotelInvNotifRS>
<!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->

Next steps