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
MonthlyCategorySale| Name | 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": "2026-02-04T04:15:24.7370768+01:00",
"SaleDay": "2026-02-04T04:15:24.7370768+01:00",
"SaleHour": 6,
"DataType": "sample string 7",
"OutletId": "732daa62-9917-4d3a-b04b-f194c5041886"
},
{
"$ref": "2"
}
],
"DailySales": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"HourlySales": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"OutletSales": [
{
"$id": "3",
"OutletId": "6358297b-1ae6-4573-93e2-0c5c513a0ba7",
"SaleDate": "2026-02-04T04:15:24.7370768+01:00",
"OutletName": "sample string 3",
"GrossTotal": 4.0,
"NetTotal": 5.0
},
{
"$ref": "3"
}
]
}