Statistics Aggregated by Country

Base Url

https://ba-dev.seekda.com/hotels/:hotel_id/reservation_summaries/per_country.json

Parameters

ParameterMandatoryDescriptionExample
hotel_idhotel code (part of the URL)
startDatethe start date for the interval returned, defaults to 2 years ago from current date
endDatethe start date for the interval returned, defaults to current date
keythe date which is used as filter for start or end date, defaults to timestamp of booking, allowed: dayOfArrival, dayOfDeparture
channelsA comma separated list of channel(prefixes) for which separate values are calculated, a reservation matches if <channelId>_<subChannelId> start with a string in the list. This parameter is case insensitive and special characters are removed. If the parameter is not present the result contains only one value in each array (e.g. amounts:[11037]). If e.g. channels=bookingcom,ibe results is given the array will be extended (e.g. amount:[11037, 10000, 20]) The first value is always the total.

Result

...