Statistics Aggregated by Time
Base Url
https://ba-dev.seekda.com/hotels/:hotel_id/reservation_summaries/per_day.json
Parameters
Result
if channels parameter is given, each array will be extended with information for each requested channel e.g. when channels=ibe,hotelde are requested this would result in 3 values instead of only one as in the example below. amounts: [11037, 10000, 20] would mean 11037 total of which 10000 from ibe and 20 from hotelde
{
success: true,
result: [
{
_id: 1298934000000, //timestamp (milliseconds from 1970)
value: {
amounts: [11037.36], //total amount of all bookings
counts: [13], //number of bookings
rooms: [14], //total number of rooms
roomNights: [35], //total number of nights
adults: [26], //number of adults
children: [1] //number of children
},
},
{
[...]
}
]
},