GET Reporting/v1/Enterprise/GetVoidsReport
Gets the Discounts Report data for given sites.
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
| DateFrom | datetime |
Date which the report will start from |
None. |
| DateTo | datetime |
Date which the report will end till |
None. |
| StartTime | time interval |
None. |
|
| EndTime | time interval |
None. |
Body Parameters
ReportingEnterpriseRequestCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
| DateFrom | datetime |
Date which the report will start from |
None. |
| DateTo | datetime |
Date which the report will end till |
None. |
| StartTime | time interval |
None. |
|
| EndTime | time interval |
None. |
Request Formats
application/json, text/json
Sample:
{
"SiteIDs": [
1,
2
],
"DateFrom": "2026-10-10T23:19:28.0282537",
"DateTo": "2026-10-10T23:19:28.0282537",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567"
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SpfReportsVoidsDto| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer |
None. |
|
| SubSiteID | integer |
None. |
|
| SiteName | string |
None. |
|
| UserName | string |
None. |
|
| AuthUserName | string |
None. |
|
| TransactionID | integer |
None. |
|
| TransactionItemID | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| TotalValue | decimal number |
None. |
|
| ItemText | string |
None. |
|
| Measure | string |
None. |
|
| DateTime | datetime |
None. |
|
| LastDateTime | datetime |
None. |
|
| Terminal | string |
None. |
|
| TableForKitchen | string |
None. |
|
| TransactionVoid | boolean |
None. |
|
| Reason | string |
None. |
|
| Produced | string |
None. |
|
| TotalSales | decimal number |
None. |
|
| CalcCost | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SiteID": 1,
"SubSiteID": 1,
"SiteName": "sample string 1",
"UserName": "sample string 2",
"AuthUserName": "sample string 3",
"TransactionID": 1,
"TransactionItemID": 1,
"Quantity": 1.0,
"TotalValue": 1.0,
"ItemText": "sample string 4",
"Measure": "sample string 5",
"DateTime": "2026-10-10T23:19:28.0282537",
"LastDateTime": "2026-10-10T23:19:28.0282537",
"Terminal": "sample string 6",
"TableForKitchen": "sample string 7",
"TransactionVoid": true,
"Reason": "sample string 8",
"Produced": "sample string 9",
"TotalSales": 1.0,
"CalcCost": 1.0
},
{
"SiteID": 1,
"SubSiteID": 1,
"SiteName": "sample string 1",
"UserName": "sample string 2",
"AuthUserName": "sample string 3",
"TransactionID": 1,
"TransactionItemID": 1,
"Quantity": 1.0,
"TotalValue": 1.0,
"ItemText": "sample string 4",
"Measure": "sample string 5",
"DateTime": "2026-10-10T23:19:28.0282537",
"LastDateTime": "2026-10-10T23:19:28.0282537",
"Terminal": "sample string 6",
"TableForKitchen": "sample string 7",
"TransactionVoid": true,
"Reason": "sample string 8",
"Produced": "sample string 9",
"TotalSales": 1.0,
"CalcCost": 1.0
}
]
application/xml, text/xml
Sample:
System.Xml.XmlDocument