put Reservation Tickets
PUT {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/tickets
To first find available tickets to sell to a guest, use the operations - getPackages in Rate module - get Reservation Packages Group Items LOV (in ListOfValues module).
Request Body
{"tickets"=>[{"ticketId"=>{"type"=>"TicketId", "id"=>"153"}, "packageCode"=>"TICKET1", "description"=>"ticket for ABC Concert", "price"=>"0", "quantity"=>1, "reference"=>"12345"}], "reservationId"=>{"type"=>"Reservation", "id"=>"{{ReservationId}}"}, "hotelId"=>"{{HotelId}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelId | string |