The Pharmacy POS System Backend is the server-side component of our comprehensive pharmacy management software. It is developed using Spring Boot, Java, Spring Security ,and Microservices Architecture
Apache License 2.0
5
stars
3
forks
source link
Request for New Endpoint: Daily Orders and Sales for a Branch #108
Request for New Endpoint: Daily Orders and Sales for a Branch
Description
I would like to request the creation of a new endpoint in our pharmacy POS system. This endpoint should provide an array of objects, each containing the date, number of orders, and total sales for each day over the past year, filtered by branch ID.
Endpoint Details
Endpoint URL:/api/v1/sales-summary/daily
HTTP Method: GET
Parameters
branchId: The ID of the branch for which data is requested.
Response Format
The response should be a JSON array, where each object contains:
Request for New Endpoint: Daily Orders and Sales for a Branch
Description
I would like to request the creation of a new endpoint in our pharmacy POS system. This endpoint should provide an array of objects, each containing the date, number of orders, and total sales for each day over the past year, filtered by branch ID.
Endpoint Details
/api/v1/sales-summary/daily
Parameters
branchId
: The ID of the branch for which data is requested.Response Format
The response should be a JSON array, where each object contains:
date
: The date in YYYY-MM-DD format.orders
: The number of orders for that date.sales
: The total sales amount for that date.Example Response