put Share Rate Amount
PUT {{HostName}}/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/shareRateAmount
To update share reservaiton in OPERA Cloud and specify how the share reservation should pay the room rate charge. For example, SPLIT rate, FULL rate, Entire rate, Custom rate.
For more information please navigate to https://docs.oracle.com/cd/F18689_01/doc.193/f23597/t_managing_reservations_shares.htm
Request Body
{"criteria"=>{"hotelId"=>"{{HotelId}}", "shareDistributionCriteria"=>{"distributionType"=>"Split", "shareReservations"=>[{"reservationId"=>{"type"=>"Reservation", "idContext"=>"OPERA", "id"=>"{{ReservationId}}"}}]}, "changeShareRateInstructions"=>{"returnShareReservations"=>false}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |