|
Get the configured Rooms in OPERA Cloud that will be used for wake-up calls.
Usually, the Physical rooms are the rooms where Hotel guests reside and would
have devices to receive wake-up calls. Therefore, the search filter
for the API call would be "physical = true."
If the room information shows "pseudo": false in the response, this means the
room is not a pseudo room. Pseudo rooms do not physically exist but
are used for other purposes, and guests usually do not set wake-up
calls for them.
Note: It is possible that room
numbers have leading zeroes (0 or 00) or even other prefixes
(for example, a letter). OPERA Cloud expects that the connecting
system can handle this.
There will be no translation/conversion for sending out room numbers without
leading zeroes or other prefixes.
|
Get Rooms
GET
{{HostName}}/rm/config/v1/hotels/{{HotelId}}/rooms?physical=true
200 response
{
"rooms": [
{
"room": [
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "001",
"meetingRoom": false,
"roomComponents": [],
"rateCode": "1-MBOERACK",
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "002",
"meetingRoom": false,
"roomComponents": [],
"rateCode": "1-MBOERACK",
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "01",
"meetingRoom": false,
"roomComponents": [],
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "02",
"meetingRoom": false,
"roomComponents": [],
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "1",
"meetingRoom": false,
"roomComponents": [],
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "100",
"meetingRoom": false,
"roomComponents": [],
"rateCode": "EURO",
"rateAmount": {
"amount": 100
},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "101",
"meetingRoom": false,
"roomComponents": [],
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "102",
"meetingRoom": false,
"roomComponents": [],
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
{
"roomType": {
"pseudo": false,
"suite": false,
"roomClass": "ALL",
"houseKeeping": true,
"maximumOccupancy": 6,
"accessible": false,
"roomType": "CLASSIC",
"meetingRoom": false
},
"roomDescription": "Classic Room",
"description": {
"defaultText": "Classic Room",
"translatedTexts": []
},
"accessible": false,
"roomId": "103",
"meetingRoom": false,
"roomComponents": [],
"rateAmount": {},
"maximumOccupancy": 6,
"ownerRoom": false,
"keyOptions": [],
"turndownService": false,
"roomSection": {}
},
],
"hotelId": "{{HotelId}}"
}
],
"links": []
}}
|