This method returns all available information for a property room.

Table of Contents
  1. URL Endpoint
  2. JSON Response Schema
  3. JSON Response Example

URL Endpoint

/room/{propertycode}/{roomcode}

Room Codes

You can use the property information method to discover the endpoint or room code for each room type.

Alternatively you can use the Rooms Listing method to get information for all rooms at once.

JSON Response Schema

{
	"method": "https://rest.reserve-online.net/room/DEMO/DBL"
	"http_method": "GET",
	"http_code": 200,
	"error_code": "OK",
	"error_msg": "",
	"params": [],
	"data":{
		"code":STRING, // Room code
		"name":STRING, // Room name
		"unit_type":STRING, // Unit type, e.g. room, villa, apartment etc.
		"license_number":STRING, // Local licence ID for rentals (null if empty)
		"description":STRING, // Room HTML description
		"sort_order":INTEGER, // Sorting order (null if empty)
		"capacity": {
			"min_pers":INTEGER, // Minimum persons
			"max_pers":INTEGER, // Maximum persons
			"max_adults":INTEGER, // Maximum adults
			"max_infants":INTEGER, // Maximum infants
			"children_allowed":BOOLEAN, // Children allowed flag
			"count_infant":BOOLEAN // Count infants towards max capacity
		}
		"active":BOOLEAN, // Indicates if room is active
		"amenities"STRING[], // A list of room amenities
		"photos":[
			{
				"title":STRING, // Photo Title
				"xsmall":URL, // Photo url - Extra small size 
				"small":URL, // Photo url - Small size  
				"medium":URL, // Photo url - Medium size 
				"large":URL, // Photo url - Large size 
			}
		],
		"location": { (exists only if room type has geo coordinates defined)
			"lat":DECIMAL, // Room geo location latitude
			"lon":DECIMAL, // Room geo location longitude
			"name":STRING, // Room location name (City/Town/Other. null if not defined)
			"address":STRING, // Room address (null if not defined)
			"zip":STRING // Room zip code (null if not defined)
		}
	}
}
	

JSON Response Example