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
Key | Datatype | Required | Description |
---|---|---|---|
hotelRoomStartDate | null | ||
hotelRoomEndDate | null | ||
roomType | string | ||
roomFeatureCode | string | ||
hotelRoomStatus | string | ||
hotelRoomFrontOfficeStatus | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelid | string |