06. Pre-Arrival - getHotelRooms

GET {{HostName}}/fof/v0/hotels/{{HotelId}}/rooms?roomType={{RoomTypeCode}}&roomFeatureCode=AWAY

To fetch rooms from OPERA Cloud. You could filter by hotelRoomStatus too, to only return Clean, Dirty, Inspected rooms for example.

Request Params

KeyDatatypeRequiredDescription
hotelRoomStartDatenull
hotelRoomEndDatenull
roomTypestring
roomFeatureCodestring
hotelRoomStatusstring
hotelRoomFrontOfficeStatusstring

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
x-app-keystring
x-hotelidstring