post Rate Plan Posting Rhythms

POST {{HostName}}/rtp/v1/hotels/{{HotelId}}/ratePlans/{{RatePlanCode}}/postingRhythms

Use this operation to add a package (such as Breakfast, or box of chocolated) to a rate plan.

Request Body

{"ratePlan"=>{"hotelId"=>"{{HotelId}}", "code"=>"{{RatePlanCode}}"}, "postingRhythms"=>[{"code"=>"PAY3STAY", "description"=>"Pay 3 nights and stay 4 nights", "beginSellDate"=>"2023-10-09", "endSellDate"=>"2023-10-11", "requiredPaidNights"=>"4", "eligibleFreeNights"=>"1", "repeatWithinStay"=>true, "repeatWithinSellSegment"=>true}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
x-hotelidstring
x-app-keystring