The room listing method return a list of detailed room information for a specific property. Each item has the same information as the Room Info method.

Table of Contents
  1. URL Endpoint
  2. Method Parameters
  3. Example Response

URL Endpoint

/room/{propertycode}

Method Parameters

NAME TYPE RANGE / SET REQUIRED DEFAULT EXAMPLE NOTES
active boolean NO true &active=0 Set to false to get the list of inactive rooms. Only active rooms are returned by default
min_pers integer 1-∞ NO - &min_pers=2 Return rooms with minimum persons greater than or equal to the specified value
max_pers integer 1-∞ NO - &max_pers=3 Return rooms with maximum persons less than or equal to the specified value
max_adults integer 1-∞ NO - &max_adults=2 Return rooms with maximum adults less than or equal to the specified value
children_allowed boolean NO - &children_allowed=1

Example JSON Response

{
	"method": "https://rest.reserve-online.net/room/demo"
	"http_method": "GET",
	"http_code": 200,
	"error_code": "OK",
	"error_msg": "",
	"params": [
		{
			type: "URL"
			name: "min_pers"
			value: "1"
		}
	],
	"data":{
		"rooms":[
			{
				"code":STRING, // Room code
				"name":STRING, // Room name
				"description":STRING, // Room HTML description
				"capacity": {
					"min_pers":INTEGER, // Minimum persons
					"max_pers":INTEGER, // Maximum persons
					"max_adults":INTEGER, // Maximum adults
					"children_allowed":BOOLEAN // Children allowed flag
				}
				"active":BOOLEAN, // Indicates if room is active
				"amenities":STRING[], // A list of room amenities
				"photos":[
					{
						"title":STRING,
						"xsmall":URL,
						"small":URL,
						"medium":URL,
						"large":URL
					}
				],
			}
		]
	}
}