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 SaleDetailName | 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": "2025-04-04T05:32:01.7007815+02:00", "SaleDay": "2025-04-04T05:32:01.7007815+02:00", "SaleHour": 6, "DataType": "sample string 7", "OutletId": "dacf9603-6518-43d4-aafc-9fd2e62c7851" }, { "$ref": "1" } ]