-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
The route kpi/ordersCount take timeBegin and timeEnd params count the nbr of order in this interval.
If the query param breakdown contains something, the orders should be grouped by the number of minutes in the breakdown query param.
Example
If breakdown=15, group every order in a 15 minutes group starting from the time given in the timeBegin query param until timeEnd
Concret example :
timeBegin : 00:00
timeEnd : 01:00
breakdown: 15
The result should be like that :
{
"00:00": {orders from 00:00 to 00:15},
"00:15": {orders from 00:15 to 00:30},
"00:30": {orders from 00:30 to 00:45},
"00:45": {orders from 00:45 to 01:00}
}The route without the breakdown param should also works only returning the number
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done