Statistics Aggregated by Channel

Base Url

https://ba-dev.seekda.com/hotels/:hotel_id/reservation_summaries/per_channel.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

Result

response format returns one record per channel that causes bookings in the time period queried

{
  success: true,
  result: [
    {
      _id: "bookingcom",
      value: {
        amount: 33199,
        count: 27,
        rooms: 33,
        roomNights: 123,
        adults: 57,
        children: 0
      }
    },
    {
      [...]
    }
  }]
}