Cancel a reservation

POST {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/cancellations

To cancel a reservaiton in OPERA Cloud.

Request Body

{"reason"=>{"description"=>"Trip Cancelled", "code"=>"CXL"}, "reservations"=>[{"reservationIdList"=>[{"id"=>"{{ReservationId}}", "type"=>"Reservation"}], "roomStatus"=>"Inspected", "allowedActions"=>["Cancel"], "hotelId"=>"{{HotelId}}", "cxlInstr"=>{"deleteResTraces"=>false}}], "verificationOnly"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
x-app-keystring
x-hotelIdstring