Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting statistical data #50

Open
bglamadrid opened this issue Jan 5, 2022 · 0 comments
Open

Requesting statistical data #50

bglamadrid opened this issue Jan 5, 2022 · 0 comments
Labels
feature To include new functionality stub Don't work on this until tasks are decided

Comments

@bglamadrid
Copy link
Collaborator

bglamadrid commented Jan 5, 2022

It is very important for business owners to have a large-scale view of data, such as incomes v/s expenses.
This triggers the need for statistics to be available.

Suggested resources

  • GET /stats - Fetches names/codes of stats that are available for query, e.g. "sales completed", "products sold" and "new customers"
  • GET /stats/{parameter} - Returns statistical data based on the former mentioned name/code as parameter, and possibly more parameters, e.g. "new customers in latest 90 days", "products sold today", "sales completed without a salesperson"

What should the response body look like?

@bglamadrid bglamadrid added feature To include new functionality stub Don't work on this until tasks are decided labels Jan 5, 2022
@bglamadrid bglamadrid moved this to Todo in Trebol v1.x Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature To include new functionality stub Don't work on this until tasks are decided
Projects
No open projects
Status: To-Do
Development

No branches or pull requests

1 participant