for today:
-
reportsroute -
reportroute (reports/1)return this.store.find('report', 1)
-
report types (base types + custom ones)
- what is a type? how do we sub-type?
-
use query params for everything
date rangefilters
-
report
reports/1payload
{ "paging": { "offset": 0, "limit": 20 }, "reports": [{ "id": "1", "orderCount": "2134", "ticketCount": "20000", "orderIds": ["order-1"] }], "orders": [{ "id": "order-1", "reportId": "1" }] }- what are the other properties?
- aggregation numbers will come from the server
- list of defaut properties
- list of customizable properties
- has many
orders orderCount,ticketCount, etcmetadata (pageCount,itemsPerPage)
-
stubbed API calls
- pagination
GET /orders?page=${page}&count=${count}
- filtering
GET /orders?search=${query}(?)
- endpoints
GET /ordersGET /orders/${order-id}GET reports/${report-type}POST reports=> sendtypeto the server (order,sales)PUT reports/${report-id}
- authentication
- pagination