Channel Managers · API docs

List Rate Plan Examples

Example requests are editable. Click to start editing.

For Hotel 484034

Request
<OTA_HotelRatePlanRQ xmlns="http://www.despegar.com/hotels/ota/v1/" Version="2">
  <RatePlans>
    <RatePlan>
      <HotelRef HotelCode="484034" />
    </RatePlan>
  </RatePlans>
</OTA_HotelRatePlanRQ>
Response
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanRS xmlns="http://www.despegar.com/hotels/ota/v1/" Version="v1" CorrelationID="despegar">
    <Success/>
    <RatePlans HotelCode="484034">
        <RatePlan CurrencyCode="ARS" ChargeTypeCode="19" RatePlanCode="10">
            <Rates>
                <Rate AgeQualifyingCode="10" AgeTimeUnit="Year" MinAge="2"/>
            </Rates>
            <Description>
                <Text>Breakfast rate ARS</Text>
            </Description>
        </RatePlan>
        <RatePlan CurrencyCode="USD" ChargeTypeCode="19" RatePlanCode="11">
            <Rates>
                <Rate AgeQualifyingCode="10" AgeTimeUnit="Year" MinAge="2"/>
            </Rates>
            <Description>
                <Text>Adva Pur</Text>
            </Description>
        </RatePlan>
        <RatePlan CurrencyCode="USD" ChargeTypeCode="19" RatePlanCode="12">
            <Rates>
                <Rate AgeQualifyingCode="10" AgeTimeUnit="Year" MinAge="2"/>
            </Rates>
            <Description>
                <Text>Standard rate</Text>
            </Description>
        </RatePlan>
    </RatePlans>
</OTA_HotelRatePlanRS>

Top