GET Reporting/v1/Enterprise/GetWastageReport
Gets the Wastage Report report data for given sites.
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| RequestingSiteID | integer |
SiteID which is requesting report |
None. |
| ProductTypeIDs | Collection of integer |
Optional: will refine report by given product type IDs, if empty will not refine the report |
None. |
| ProductGroupIDs | Collection of integer |
Optional: will refine report by given product group IDs, if empty will not refine the report |
None. |
| SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
| DateUtcFrom | datetime |
Date which the report will start from |
None. |
| DateUtcTo | datetime |
Date which the report will end till |
None. |
Body Parameters
ReportingRequestCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| RequestingSiteID | integer |
SiteID which is requesting report |
None. |
| ProductTypeIDs | Collection of integer |
Optional: will refine report by given product type IDs, if empty will not refine the report |
None. |
| ProductGroupIDs | Collection of integer |
Optional: will refine report by given product group IDs, if empty will not refine the report |
None. |
| SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
| DateUtcFrom | datetime |
Date which the report will start from |
None. |
| DateUtcTo | datetime |
Date which the report will end till |
None. |
Request Formats
application/json, text/json
{
"RequestingSiteID": 1,
"ProductTypeIDs": [
1,
2
],
"ProductGroupIDs": [
1,
2
],
"SiteIDs": [
1,
2
],
"DateUtcFrom": "2026-10-20T22:47:59.1636007",
"DateUtcTo": "2026-10-20T22:47:59.1636007"
}
application/xml, text/xml
System.Xml.XmlDocument
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of SpfReportsWastageNewDto| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteName | string |
None. |
|
| SalesArea | string |
None. |
|
| DateTimeClosed | datetime |
None. |
|
| TransactionID | integer |
None. |
|
| ProductType | string |
None. |
|
| ProductGroup | string |
None. |
|
| Product | string |
None. |
|
| Measure | string |
None. |
|
| PLU | string |
None. |
|
| ReasonName | string |
None. |
|
| UserName | string |
None. |
|
| AuthUserName | string |
None. |
|
| TotalGross | decimal number |
None. |
|
| TotalNet | decimal number |
None. |
|
| CalcCost | decimal number |
None. |
|
| Quantity | decimal number |
None. |
Response Formats
application/json, text/json
[
{
"SiteName": "sample string 1",
"SalesArea": "sample string 2",
"DateTimeClosed": "2026-10-20T22:47:59.1636007",
"TransactionID": 1,
"ProductType": "sample string 3",
"ProductGroup": "sample string 4",
"Product": "sample string 5",
"Measure": "sample string 6",
"PLU": "sample string 7",
"ReasonName": "sample string 8",
"UserName": "sample string 9",
"AuthUserName": "sample string 10",
"TotalGross": 1.0,
"TotalNet": 1.0,
"CalcCost": 1.0,
"Quantity": 1.0
},
{
"SiteName": "sample string 1",
"SalesArea": "sample string 2",
"DateTimeClosed": "2026-10-20T22:47:59.1636007",
"TransactionID": 1,
"ProductType": "sample string 3",
"ProductGroup": "sample string 4",
"Product": "sample string 5",
"Measure": "sample string 6",
"PLU": "sample string 7",
"ReasonName": "sample string 8",
"UserName": "sample string 9",
"AuthUserName": "sample string 10",
"TotalGross": 1.0,
"TotalNet": 1.0,
"CalcCost": 1.0,
"Quantity": 1.0
}
]
application/xml, text/xml
System.Xml.XmlDocument