Activate a rate plan

After a rate plan has been deactivated, you may want to activate it again. Use /ota/OTA_HotelRatePlanNotif to activate rates.

Before you start

You need:

Request

HTTP request

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

Request body

Provide an OTA_HotelRatePlanNotifRQ object in the request body. Example:

<OTA_HotelRatePlanNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" MessageContentCode="8" Version="1.005" TimeStamp="2015-06-09T11:53:48" >
  <RatePlans HotelCode="{PropertyID}" >
    <RatePlan RatePlanNotifType="Activate" RatePlanCode="{RatePlanID}" />
  </RatePlans>
</OTA_HotelRatePlanNotifRQ>

Response

The response contains an OTA_HotelRatePlanNotifRS object:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanNotifRS 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_HotelRatePlanNotifRS.xsd" TimeStamp="2015-09-30T13:49:52-00:00" Target="Production" Version="3.000">
  <Success />
</OTA_HotelRatePlanNotifRS><!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->

Next steps