hotel_id | | hotel code (part of the URL) | |
startDate | | the start date for the interval returned, defaults to 2 years ago from current date | |
endDate | | the start date for the interval returned, defaults to current date | |
key | | the date which is used as key and filter for start or end date, defaults to timestamp of booking, allowed: dayOfArrival, dayOfDeparture | |
keyFormat | | the format for the aggregated key (intended for easier debugging), defaults to milliseconds since 1970, allowed: date (date object) | |
base | | the time interval to be aggregated, defaults to aggregation per day, allowed: w (per week), m (per month),
q (per quarter), y (per year), t (total, only one value for the complete period request, note that in this case the timestamp returned
is meaningless) | |
| | | |