GET api/Sale/GetHourlySale?outletId={outletId}&year={year}&month={month}&day={day}
Get Sale by hours
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| outletId | globally unique identifier |
Required |
|
| year | integer |
Required |
|
| month | integer |
Required |
|
| day | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SaleDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupName | string |
None. |
|
| GrossTotal | decimal number |
None. |
|
| NetTotal | decimal number |
None. |
|
| CreationDate | date |
None. |
|
| SaleDay | date |
None. |
|
| SaleHour | integer |
None. |
|
| DataType | string |
None. |
|
| OutletId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"GroupName": "sample string 1",
"GrossTotal": 2.0,
"NetTotal": 3.0,
"CreationDate": "2026-02-04T04:15:24.7526976+01:00",
"SaleDay": "2026-02-04T04:15:24.7526976+01:00",
"SaleHour": 6,
"DataType": "sample string 7",
"OutletId": "0718d412-8a37-409b-912a-94a0d373c5d7"
},
{
"$ref": "1"
}
]