POST api/OrderSalesReport/GetOrderDetailStatisticsReport
Request Information
URI Parameters
None.
Body Parameters
ReportSearchReq| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportType | string |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| ShopIds | Collection of integer |
None. |
|
| OrderBy | ReportOrderBy |
None. |
|
| CountryCodeList | Collection of string |
None. |
|
| CountryName | string |
None. |
|
| IsExport | boolean |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReportType": "sample string 1",
"StartTime": "2026-08-11 21:22:32",
"EndTime": "2026-08-11 21:22:32",
"ShopIds": [
1,
2
],
"OrderBy": {
"OrderBy": 0,
"IsDescending": true
},
"CountryCodeList": [
"sample string 1",
"sample string 2"
],
"CountryName": "sample string 2",
"IsExport": true,
"PageIndex": 4,
"PageSize": 5
}
application/xml, text/xml
Sample:
<ReportSearchReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.OrderSalesReport">
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/MS.Common">4</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/MS.Common">5</PageSize>
<CountryCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CountryCodeList>
<CountryName>sample string 2</CountryName>
<EndTime>2026-08-11T21:22:32.297149+08:00</EndTime>
<IsExport>true</IsExport>
<OrderBy>
<IsDescending>true</IsDescending>
<OrderBy>Date</OrderBy>
</OrderBy>
<ReportType>sample string 1</ReportType>
<ShopIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ShopIds>
<StartTime>2026-08-11T21:22:32.297149+08:00</StartTime>
</ReportSearchReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfPageListModelOfOrderStatisticsReportDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | PageListModelOfOrderStatisticsReportDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": {
"Rows": [
{
"Date": "sample string 1",
"ReportDate": "2026-08-11 21:22:32",
"OrderTotal": 3,
"PayMentAmount": 4.0,
"PayMentTotal": 5,
"Commission": 6.0,
"LogisticsCost": 7.0,
"Cost": 8.0,
"Profit": 9.0,
"RefundTotal": 10,
"RefundAmount": 11.0,
"RefundRate": "sample string 12",
"CostProfitRate": "sample string 13",
"SalesProfitRate": "sample string 14"
},
{
"Date": "sample string 1",
"ReportDate": "2026-08-11 21:22:32",
"OrderTotal": 3,
"PayMentAmount": 4.0,
"PayMentTotal": 5,
"Commission": 6.0,
"LogisticsCost": 7.0,
"Cost": 8.0,
"Profit": 9.0,
"RefundTotal": 10,
"RefundAmount": 11.0,
"RefundRate": "sample string 12",
"CostProfitRate": "sample string 13",
"SalesProfitRate": "sample string 14"
}
],
"Total": 1,
"PageIndex": 2,
"PageSize": 3
}
}
application/xml, text/xml
Sample:
<ResponseResultOfPageListModelOfOrderStatisticsReportDtoLlPhn04FG0fLBEQf 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.Common">
<d2p1:PageIndex>2</d2p1:PageIndex>
<d2p1:PageSize>3</d2p1:PageSize>
<d2p1:Rows xmlns:d3p1="http://schemas.datacontract.org/2004/07/MS.Report.Model.OrderSalesReport">
<d3p1:OrderStatisticsReportDto>
<d3p1:Commission>6</d3p1:Commission>
<d3p1:Cost>8</d3p1:Cost>
<d3p1:CostProfitRate>sample string 13</d3p1:CostProfitRate>
<d3p1:Date>sample string 1</d3p1:Date>
<d3p1:LogisticsCost>7</d3p1:LogisticsCost>
<d3p1:OrderTotal>3</d3p1:OrderTotal>
<d3p1:PayMentAmount>4</d3p1:PayMentAmount>
<d3p1:PayMentTotal>5</d3p1:PayMentTotal>
<d3p1:Profit>9</d3p1:Profit>
<d3p1:RefundAmount>11</d3p1:RefundAmount>
<d3p1:RefundRate>sample string 12</d3p1:RefundRate>
<d3p1:RefundTotal>10</d3p1:RefundTotal>
<d3p1:ReportDate>2026-08-11T21:22:32.297149+08:00</d3p1:ReportDate>
<d3p1:SalesProfitRate>sample string 14</d3p1:SalesProfitRate>
</d3p1:OrderStatisticsReportDto>
<d3p1:OrderStatisticsReportDto>
<d3p1:Commission>6</d3p1:Commission>
<d3p1:Cost>8</d3p1:Cost>
<d3p1:CostProfitRate>sample string 13</d3p1:CostProfitRate>
<d3p1:Date>sample string 1</d3p1:Date>
<d3p1:LogisticsCost>7</d3p1:LogisticsCost>
<d3p1:OrderTotal>3</d3p1:OrderTotal>
<d3p1:PayMentAmount>4</d3p1:PayMentAmount>
<d3p1:PayMentTotal>5</d3p1:PayMentTotal>
<d3p1:Profit>9</d3p1:Profit>
<d3p1:RefundAmount>11</d3p1:RefundAmount>
<d3p1:RefundRate>sample string 12</d3p1:RefundRate>
<d3p1:RefundTotal>10</d3p1:RefundTotal>
<d3p1:ReportDate>2026-08-11T21:22:32.297149+08:00</d3p1:ReportDate>
<d3p1:SalesProfitRate>sample string 14</d3p1:SalesProfitRate>
</d3p1:OrderStatisticsReportDto>
</d2p1:Rows>
<d2p1:Total>1</d2p1:Total>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfPageListModelOfOrderStatisticsReportDtoLlPhn04FG0fLBEQf>