change Policy Schedules
PUT {{HostName}}/rsv/config/V1/hotels/{{HotelId}}/policyschedules/{{PolicyScheduleId}}
Request Body
{"policySchedule"=>{"scheduleId"=>{"type"=>"PolicyScheduleId", "id"=>"194998"}, "scheduleDetail"=>{"timeSpan"=>{"startDate"=>"2023-07-04", "endDate"=>"2023-12-31"}, "policy"=>{"code"=>"NONCXL", "description"=>"Non Cancellable"}, "sequence"=>"1", "override"=>false, "inactive"=>false}, "hotelId"=>"{{HotelId}}", "policyType"=>"Cancellation"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |