Method to retrieve cumulative statistics for requests, bookings & allotment per day
GET /statistics/performance_per_day/{propertycode}
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.
This method is only accessible using a Hotelier or Operator API account.
NAME | TYPE | RANGE / SET | REQUIRED | DEFAULT | EXAMPLE | NOTES |
---|---|---|---|---|---|---|
from | date (ISO 8601) | * | YES | – | &from=2024-10-29 | |
to | date (ISO 8601) | from + 12 months | YES | – | &to=2024-11-29 |
{ "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-10-29" }, { type: "URL" name: "to" value: "2024-11-29" } ], "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 } ] } }