14. Check-Out - putReservation (add departure time)

PUT {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}

A reservation must have $0 balance, and be in 'Due-out' status to be able to check out.

Request Body

{"reservations"=>[{"reservationIdList"=>[{"type"=>"Reservation", "id"=>"{{ReservationId}}"}], "roomStay"=>{"arrivalDate"=>"2021-03-23", "departureDate"=>"2021-03-23", "expectedTimes"=>{"reservationExpectedArrivalTime"=>"2021-03-23 13:00:00.0", "reservationExpectedDepartureTime"=>"2021-03-23 10:00:00.0"}}, "hotelId"=>"{{HotelId}}", "customReference"=>"", "preRegistered"=>false, "allowMobileCheckout"=>false}]}

HEADERS

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