Create a rate plan

A rate plan contains the name of a rate. Use /ota/OTA_HotelRatePlanNotif[ota-hotelrateplannotif] to create rate plans.

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:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" MessageContentCode="8" Version="1.005" TimeStamp="2015-06-09T11:53:48" Target='Test'>
  <RatePlans HotelCode="{PropertyID}" >
    <RatePlan RatePlanNotifType="New">
      <Description Name="Standard Rate"/>
    </RatePlan>
  </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 />
  <RatePlanCrossRef  ResponseRatePlanCode="{OurRatePlanID}"/>
</OTA_HotelRatePlanNotifRS><!-- RUID: [XXXXXXXXXXXXXXXXXXXXXXXXXXX==] -->

Next steps