post Cancellation Policy
POST {{HostName}}/rsv/config/v1/cancelpolicy/{{CancelPolicyCode}}
Request Body
{"cancelPenalty"=>{"cancelPenaltyConfig"=>[{"sequence"=>"1", "inactive"=>false, "deadline"=>{"offsetFromArrival"=>"1", "offsetDropTime"=>"2023-01-01 06:00:00.0"}, "amountPercent"=>{"basisType"=>"FlatAmount", "amount"=>"50"}, "penaltyDescription"=>"FLATRATE", "policyCode"=>"FLAT"}], "hotelId"=>"{{HotelId}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |