POST api/ProductSalesReport/GetProductSalesDetailStatistics
Request Information
URI Parameters
None.
Body Parameters
ProductSalesDetailStatisticsReq| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductIdentity | integer |
None. |
|
| ShopId | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductIdentity": 1,
"ShopId": 1,
"StartTime": "2026-08-11 21:22:33",
"EndTime": "2026-08-11 21:22:33"
}
application/xml, text/xml
Sample:
<ProductSalesDetailStatisticsReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.ProductSalesReport"> <EndTime>2026-08-11T21:22:33.488931+08:00</EndTime> <ShopId>1</ShopId> <StartTime>2026-08-11T21:22:33.488931+08:00</StartTime> <ProductIdentity>1</ProductIdentity> </ProductSalesDetailStatisticsReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfProductSalesDetailStatisticsRes| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | ProductSalesDetailStatisticsRes |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": {
"SalesTotal": 1,
"SalesAmount": 2.0,
"RefundAmount": 3.0,
"RefundTotal": 4
}
}
application/xml, text/xml
Sample:
<ResponseResultOfProductSalesDetailStatisticsResMmDogPUX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MS.Report.Model.ProductSalesReport">
<d2p1:RefundAmount>3</d2p1:RefundAmount>
<d2p1:RefundTotal>4</d2p1:RefundTotal>
<d2p1:SalesAmount>2</d2p1:SalesAmount>
<d2p1:SalesTotal>1</d2p1:SalesTotal>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfProductSalesDetailStatisticsResMmDogPUX>