GET api/Sale/GetCurrentMonthSale
Get Curretn Month sale
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
return MonthlyCategorySale
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": "2024-05-16T13:15:12.2969272+02:00", "SaleDay": "2024-05-16T13:15:12.2969272+02:00", "SaleHour": 6, "DataType": "sample string 7", "OutletId": "ebc84766-5cb8-4f43-92c8-0fa414be420c" }, { "$ref": "2" } ], "DailySales": [ { "$ref": "2" }, { "$ref": "2" } ], "HourlySales": [ { "$ref": "2" }, { "$ref": "2" } ], "OutletSales": [ { "$id": "3", "OutletId": "456e66f5-9977-418b-9c99-38287eec6f69", "SaleDate": "2024-05-16T13:15:12.2979286+02:00", "OutletName": "sample string 3", "GrossTotal": 4.0, "NetTotal": 5.0 }, { "$ref": "3" } ] }