# RatePlan

Multiple ancestors
`RatePlan` can be a descendant of:

* [OTA_HotelProductNotifRQ](/connectivity/docs/api-reference/ota_hotelproductnotifrq)
* [OTA_HotelRatePlanNotifRQ](/connectivity/docs/api-reference/ota_hotelrateplannotifrq)
* [OTA_HotelResNotifRQ](/connectivity/docs/api-reference/ota_hotelresnotifrq)
* [OTA_HotelResModifyNotifRQ](/connectivity/docs/api-reference/ota_hotelresmodifynotifrq)


## [OTA_HotelProductNotifRQ](/connectivity/docs/api-reference/ota_hotelproductnotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [RatePlans](/connectivity/docs/api-reference/rateplans)/`RatePlan` | Rate plan details. | object | 0..* | - |
| `RatePlan`/`RatePlanCode` | The Booking.com rate plan ID. | string | 1..1 | Returned in [OTA_HotelRatePlanNotifRS](/connectivity/docs/api-reference/ota_hotelrateplannotifrs) upon creation of the rate plan. |


### XML


```xml
<RatePlan
  RatePlanCode="5710484" />
```

## [OTA_HotelRatePlanNotifRQ](/connectivity/docs/api-reference/ota_hotelrateplannotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [RatePlans](/connectivity/docs/api-reference/rateplans)/`RatePlan` | Rate plan details. | object | 0..* | - |
| `RatePlan`/`@RatePlanNotifType` | Specifies the type of operation being performed on the rate plan. | enum | 1..1 | Accepts: `New`, `Overlay`, `Remove`, `Activate`. |
| `RatePlan`/`@RatePlanID` | A custom rate plan ID, specified by the Connectivity Partner, for cross-referencing purposes. | string | 0..1 | Only allowed when `@RatePlanNotifType="New"`. |


### XML


```xml
<RatePlan
  RatePlanNotifType="New"
  RatePlanID="123457">
  <Description ./>
</RatePlan>
```

## [OTA_HotelResNotifRQ](/connectivity/docs/api-reference/ota_hotelresnotifrq) & [OTA_HotelResModifyNotifRQ](/connectivity/docs/api-reference/ota_hotelresmodifynotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [RatePlans](/connectivity/docs/api-reference/rateplans)/`RatePlan` | Container for [Commission](/connectivity/docs/api-reference/commission). | object | 0..* | - |
| `RatePlan`/[Commission](/connectivity/docs/api-reference/commission) | Container for [CommissionPayableAmount](/connectivity/docs/api-reference/commissionpayableamount). | object | 1..1 | - |


### XML


```xml
<RatePlan>
   <Commission>
      ...
   </Commission>
</RatePlan>
```

## Related endpoints

* [/ota/OTA_HotelProductNotif](/connectivity/docs/ota-hotelproductnotif)
* [/ota/OTA_HotelRatePlanNotif](/connectivity/docs/ota-hotelrateplannotif)
* [/ota/OTA_HotelResNotif](/assets/ota-resnotif.0246048b9c717d1a5855d6674e26c38dabca2d621c6e35c8db7aba16f8794661.53c68abe.md)
* [/ota/OTA_HotelResModifyNotif](/assets/ota-resmodifynotif.db8d41e1bc79646e4858455554c34b992ccb01469da7502fbb3cc803dccb64f5.53c68abe.md)