post Combine Share Reservations
POST {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/shares
To create share reservaiton in OPERA Cloud by comibining 2 reservations that already exist. The body of the post contains 2 different reservationIDs, which will link the resrevations in OPERA Cloud. You can then use the operation putShareRateAmount to dictate which reservation pays what amount for the room rate.
Request Body
{"criteria"=>{"combineShareInstruction"=>{"distributionType"=>"Full", "overrideInventoryCheck"=>true, "roomMoveCheckedinResv"=>true, "overrideMaxOccupancyCheck"=>true}, "hotelId"=>"{{HotelId}}", "shareToReservation"=>{"reservationIdList"=>[{"id"=>"718682", "type"=>"Reservation"}]}, "existingReservationId"=>{"id"=>"720933", "type"=>"Reservation"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |