POST api/OrderSalesReport/GetSalesReport
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:31",
"EndTime": "2026-08-11 21:22:31",
"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:31.9813429+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:31.9813429+08:00</StartTime>
</ReportSearchReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfListOfSalesReportDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | Collection of SalesReportDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": [
{
"Date": "sample string 1",
"ReportDate": "2026-08-11 21:22:31",
"Sales": 3.0
},
{
"Date": "sample string 1",
"ReportDate": "2026-08-11 21:22:31",
"Sales": 3.0
}
]
}
application/xml, text/xml
Sample:
<ResponseResultOfArrayOfSalesReportDtoLlPhn04F 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.OrderSalesReport">
<d2p1:SalesReportDto>
<d2p1:Date>sample string 1</d2p1:Date>
<d2p1:ReportDate>2026-08-11T21:22:31.9891742+08:00</d2p1:ReportDate>
<d2p1:Sales>3</d2p1:Sales>
</d2p1:SalesReportDto>
<d2p1:SalesReportDto>
<d2p1:Date>sample string 1</d2p1:Date>
<d2p1:ReportDate>2026-08-11T21:22:31.9891742+08:00</d2p1:ReportDate>
<d2p1:Sales>3</d2p1:Sales>
</d2p1:SalesReportDto>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfArrayOfSalesReportDtoLlPhn04F>