Request for new Waiting list endpoint

DiR is in need for further information regarding waiting lists and is requesting a new endpoint that complements the existing ones. the new endpoint will have at least the following fields as input:

Input Fields

  • Services (must be optional). Shoud contemplate more than one service in form of an array.
  • Categories (must be optional). Shoud contemplate more than one service in form of an array.
  • Club ALT ID (must be optional). Shoud contemplate more than one service in form of an array.
  • Start date (required field)
  • End date (must be optional)

if the optional fields are not informed, the response will include instances of every service, category and club that mates the dates.

Example of endpoint call

{"service":[1,2,34,56], "category":[1,4,7], "club":[5,6,7,8], "start":"2021-03-04T10:00:00Z", "end":"2021-03-05T10:00:00Z"}

Output fields

The output should contain the total number of customers in the Waiting list of every class (If has been any) at the precise moment of the start of the class, as well as the class and start dates themselves. So the fields will be as follows:

  • Club
  • Sublocation
  • Service ID
  • Service name
  • Category ID
  • Category name
  • Trainer ID
  • Trainer name
  • Class date start in format yyyy-MM-ddTHH:mm:ssZ
  • Group sizde
  • Attendes
  • Not attendeds
  • Cancelleds
  • Late Cancelleds
  • Number of customers in waitinglist