07. Pre-Arrival - postRoomAssignment
POST {{HostName}}/fof/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/roomAssignments
Use this API to add/assign a room number to a guests reservation. This is required before they can check into the property.
Request Body
{"criteria"=>{"hotelId"=>"{{HotelId}}", "reservationIdList"=>[{"id"=>"{{ReservationId}}", "type"=>"Reservation"}], "roomId"=>"{{RoomId}}", "overrideInstructions"=>{"dirtyRoom"=>true}, "updateRoomTypeCharged"=>true, "includeDepartureRooms"=>true, "roomNumberLocked"=>true}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelid | string |