put Reservation -> add a new trace
PUT {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}
To update an existing reservation in OPERA by adding a new trace.
Request Body
{"reservations"=>[{"reservationIdList"=>[{"type"=>"Reservation", "id"=>"{{ReservationId}}"}], "traces"=>[{"timeInfo"=>{"dateTimeSpan"=>{"startDateTime"=>"2023-10-19 08:59:00.0", "endDateTime"=>"2023-10-19 08:59:00.0"}, "traceOn"=>"2023-10-19 08:59:00.0", "traceTime"=>"08:59"}, "departmentId"=>"ACC", "traceText"=>"Please check guest account"}], "hotelId"=>"{{HotelId}}", "customReference"=>"", "preRegistered"=>false, "allowMobileCheckout"=>false}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |