4.1. Create/Update Promotion
POST /cm/promotion
4.1.1. Description
This section outlines the feature to create and update a promotion. All promotion types share many common elements and attributes. Promotion types EarlyBird, ExpressTonight, FreeNights, and LastNight each has unique elements that are specified in the “5. Definitions” section below.
4.1.2. Body parameter
HotelPromotion_RQ must be supplied.
Name : body
Flags : required
Type : HotelPromotion_RQ
4.1.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The promotion has been created/updated successfully |
No Content |
400 |
The request content was malformed |
No Content |
401 |
The supplier was unauthorized |
No Content |
4.1.4. Consumes
application/xml
4.1.5. Produces
application/xml
4.1.6. Tags
Promotion
4.1.7. Security
| Type | Name |
|---|---|
apiKey |
4.1.8. Example HTTP request
Request path
/cm/promotion
Request for create Customized promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="Customized" PromotionName="Customized Promotion example" PromotionExternalId="CTM001" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<PercentPerNight NightType="SpecificDOW">
<Value>25.0</Value>
<Value>15.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>10.0</Value>
</PercentPerNight>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="3371504"/>
</RatePlans>
<Rooms>
<Room Id="1201489087"/>
</Rooms>
\</HotelPromotion_RQ>
Request for create EarlyBird promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="EarlyBird" PromotionName="EarlyBird Promotion - New Year 2022" PromotionExternalId="EBNY2021" HotelId="203103755"/>
<EarlyBird MinAdvPurchase="5"/>
<SaleDateRange Start="2021-01-01" End="2021-06-05"/>
<StayDateRange Start="2021-12-01" End="2022-01-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-12-31" End="2022-01-01"/>
<DateRange Start="2021-12-25" End="2021-12-26"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerNight NightType="SpecificNight">
<Value>100.0</Value>
<Value>110.0</Value>
<Value>120.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>115.0</Value>
</AmountPerNight>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="3371503"/>
</RatePlans>
<Rooms>
<Room Id="1201489087"/>
</Rooms>
\</HotelPromotion_RQ>
Request for create ExpressTonight promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="ExpressTonight" PromotionName="ExpressTonight Promotion" PromotionExternalId="EXPRESS001" HotelId="203103755"/>
<SaleDateRange Start="2020-11-19" End="2020-11-20"/>
<StayDateRange Start="2020-11-19" End="2020-11-21"/>
<MinNoOfRooms>2</MinNoOfRooms>
<LengthOfStay Min="1" Max="3"/>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<ExpressTonight Value="3000.0" ChannelDiscount="true"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for create LastMinute promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="LastMinute" PromotionName="LastMinute Promotion" PromotionExternalId="LMN001" HotelId="203103755"/>
<LastMinute MaxAdvPurchase="2"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerBooking Value="1500.0"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for create LongStay promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="LongStay" PromotionName="LongStay Promotion" PromotionExternalId="LONG001" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="3" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<FreeNights Value="2" IsRecurring="false"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for create SeventyTwoHours promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="SeventyTwoHours" PromotionName="SeventyTwoHours Promotion" PromotionExternalId="72HRS001" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerBooking Value="400.0"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for create SpecialOffer promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="SpecialOffer" PromotionName="SpecialOffer Promotion" PromotionExternalId="SPO001" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerBooking Value="4500.0"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update Customized promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="Customized" PromotionName="Customized Promotion example update" PromotionId="75023474" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<PercentPerNight NightType="SpecificDOW">
<Value>25.0</Value>
<Value>15.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>10.0</Value>
</PercentPerNight>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update EarlyBird promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="EarlyBird" PromotionName="EarlyBird Promotion - New Year 2022 update" PromotionId="75023475" HotelId="203103755"/>
<EarlyBird MinAdvPurchase="5"/>
<SaleDateRange Start="2021-01-01" End="2021-03-01"/>
<StayDateRange Start="2021-12-01" End="2022-01-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-12-31" End="2022-01-01"/>
<DateRange Start="2021-12-25" End="2021-12-26"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerNight NightType="SpecificNight">
<Value>100.0</Value>
<Value>110.0</Value>
<Value>120.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>0.0</Value>
<Value>115.0</Value>
</AmountPerNight>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="3371503"/>
</RatePlans>
<Rooms>
<Room Id="1201489087"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update ExpressTonight promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="ExpressTonight" PromotionName="ExpressTonight Promotion update" PromotionId="75023484" HotelId="203103755"/>
<SaleDateRange Start="2020-11-19" End="2020-11-20"/>
<StayDateRange Start="2020-11-19" End="2020-11-21"/>
<MinNoOfRooms>2</MinNoOfRooms>
<LengthOfStay Min="1" Max="3"/>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<ExpressTonight Value="3000.0" ChannelDiscount="true"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update LastMinute promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="LastMinute" PromotionName="LastMinute Promotion update" PromotionId="75023476" HotelId="203103755"/>
<LastMinute MaxAdvPurchase="2"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="5"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerBooking Value="1500.0"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update LongStay promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="LongStay" PromotionName="LongStay Promotion update" PromotionId="75023478" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="3" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<FreeNights Value="2" IsRecurring="false"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update SeventyTwoHours promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="SeventyTwoHours" PromotionName="SeventyTwoHours Promotion update" PromotionId="75023477" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerBooking Value="400.0"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
Request for update SpecialOffer promotion type
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RQ Timestamp="1605141841949">
<Promotion PromotionType="SpecialOffer" PromotionName="SpecialOffer Promotion update" PromotionId="75023485" HotelId="203103755"/>
<SaleDateRange Start="2021-01-01" End="2021-03-05"/>
<StayDateRange Start="2021-02-01" End="2021-06-05"/>
<MinNoOfRooms>2</MinNoOfRooms>
<BlackoutDateRange>
<DateRange Start="2021-03-15" End="2021-03-30"/>
<DateRange Start="2021-06-01" End="2021-06-03"/>
</BlackoutDateRange>
<LengthOfStay Min="1" Max="7"/>
<BookOn>
<Day>Sunday</Day>
<Day>Tuesday</Day>
<Day>Thursday</Day>
<Day>Saturday</Day>
</BookOn>
<StayOn>
<Day>Monday</Day>
<Day>Wednesday</Day>
<Day>Friday</Day>
</StayOn>
<CheckinOn>
<Day>Wednesday</Day>
<Day>Thursday</Day>
<Day>Friday</Day>
<Day>Saturday</Day>
</CheckinOn>
<BookingTime From="12:00" To="22:00"/>
<IsStackable>false</IsStackable>
<Discount>
<AmountPerBooking Value="4500.0"/>
</Discount>
<CancellationPolicy Id="963"/>
<Channels>
<Channel Id="1"/>
<Channel Id="7"/>
</Channels>
<CustomerSegments>
<CustomerSegment Id="0"/>
</CustomerSegments>
<RatePlans>
<RatePlan Id="0"/>
</RatePlans>
<Rooms>
<Room Id="0"/>
</Rooms>
\</HotelPromotion_RQ>
4.1.9. Example HTTP response
Response 200
<?xml version="1.0" encoding="UTF-8"?>
\<HotelPromotion_RS Tuid="000-000-0000" PromotionId=12345>
\</HotelPromotion_RS>
Response 400
<?xml version="1.0" encoding="UTF-8"?>
<HotelPromotion_RS>
<Errors>
<Error Code="321" ShortText="Required field missing" Status="NotProcessed"/>
</Errors>
</HotelPromotion_RS>
Response 401
<?xml version="1.0" encoding="UTF-8"?>
<HotelPromotion_RS>
<Errors>
<Error Code="497" ShortText="Authorization error" Status="NotProcessed"/>
</Errors>
</HotelPromotion_RS>
