GET api/Sale/GetMonthalySale?outletId={outletId}&year={year}&month={month}
Get the given month sale by outlet
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
outletId | globally unique identifier |
Required |
|
year | integer |
Required |
|
month | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MonthlyCategorySaleName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
GrandTotal | decimal number |
None. |
|
NetTotal | decimal number |
None. |
|
Categories | Collection of SaleDetail |
None. |
|
DailySales | Collection of SaleDetail |
None. |
|
HourlySales | Collection of SaleDetail |
None. |
|
OutletSales | Collection of OutletSale |
None. |
Response Formats
application/json, text/json
Sample:
{ "Description": "sample string 1", "GrandTotal": 2.0, "NetTotal": 3.0, "Categories": [ { "$id": "2", "GroupName": "sample string 1", "GrossTotal": 2.0, "NetTotal": 3.0, "CreationDate": "2025-07-04T15:30:12.3664084+02:00", "SaleDay": "2025-07-04T15:30:12.3664084+02:00", "SaleHour": 6, "DataType": "sample string 7", "OutletId": "265f163f-b096-4970-8107-a942aa84926d" }, { "$ref": "2" } ], "DailySales": [ { "$ref": "2" }, { "$ref": "2" } ], "HourlySales": [ { "$ref": "2" }, { "$ref": "2" } ], "OutletSales": [ { "$id": "3", "OutletId": "cf9d7a11-f38d-44d3-b77e-17289fe73d55", "SaleDate": "2025-07-04T15:30:12.3664084+02:00", "OutletName": "sample string 3", "GrossTotal": 4.0, "NetTotal": 5.0 }, { "$ref": "3" } ] }