post Rate Plan Schedules (v0) -> with a package on the schedule

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

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

Request Body

{"ratePlanScheduleList"=>[{"roomTypeList"=>["DLXK", "DLXQ"], "sunday"=>true, "monday"=>true, "tuesday"=>true, "wednesday"=>true, "thursday"=>true, "friday"=>true, "saturday"=>true, "rateAmounts"=>{"onePersonRate"=>"220", "twoPersonRate"=>"250", "threePersonRate"=>"280", "fourPersonRate"=>"300", "rateByAgeBuckets"=>[{"minimumAge"=>"1", "maximumAge"=>"17"}], "overrideFloorAmount"=>true}, "rateSchedulePackages"=>{"packages"=>[{"code"=>"PKG2", "description"=>"Chocolates Package"}]}, "tierID"=>"1", "start"=>"2023-12-01", "end"=>"2023-12-31"}], "hotelId"=>"{{HotelId}}", "ratePlanCode"=>"{{RatePlanCode}}"}

HEADERS

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