Method to retrieve cumulative statistics for requests, bookings & allotment per day

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

URL Endpoint

GET /statistics/performance_per_day/{propertycode}

Terms

This method should be called only for user-initiated actions.

Scheduled (automated) calls on this method are only allowed if they happen a few times per day.

This method should NOT be used to feed 3rd party systems without our consent.

API usage is closely monitored and improper usage will result in a ban without further warning.

Warning

This method is only accessible using a Hotelier or Operator API account.


Method parameters

NAME TYPE RANGE / SET REQUIRED DEFAULT EXAMPLE NOTES
from date (ISO 8601) * YES &from=2024-02-22  
to date (ISO 8601) from + 12 months YES &to=2024-03-22  

JSON Response Schema

{
	"method": "https://rest.reserve-online.net/statistics/performance_per_day/DEMO"
	"http_method": "GET",
	"http_code": 200,
	"error_code": "OK",
	"error_msg": "",
	"params": [
		{
			type: "URL"
			name: "from"
			value: "2024-02-22"
		},
		{
			type: "URL"
			name: "to"
			value: "2024-03-22"
		}
	],
	"data":{
		"stats":[
			{
				"date":ISO 8601, // Date
				"requests":INTEGER, // Total count of requests that stay period incuded this date
				"allotment":INTEGER, // Total count of currently available rooms
				"bookings":INTEGER // Total count of bookings that their stay period includes this date
			}
		]
	}
}
	

JSON Response Example