POST api/OrderSalesReport/GetCustomerChartDistributionReport
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:33",
"EndTime": "2026-08-11 21:22:33",
"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:33.2283643+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:33.2283643+08:00</StartTime>
</ReportSearchReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfListOfCustomerDistributionReportDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | Collection of CustomerDistributionReportDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": [
{
"CountryCode": "sample string 1",
"CountryName": "sample string 2",
"CustomerTotal": 3,
"OrderTotal": 4,
"OrderAmount": 5.0,
"PayMentAmount": 6.0,
"PayMentTotal": 7,
"PayMentCustomerTotal": 8,
"RefundAmount": 9.0,
"RefundTotal": 10,
"RefundCustomerTotal": 11,
"PerCustomerTransaction": 12.0
},
{
"CountryCode": "sample string 1",
"CountryName": "sample string 2",
"CustomerTotal": 3,
"OrderTotal": 4,
"OrderAmount": 5.0,
"PayMentAmount": 6.0,
"PayMentTotal": 7,
"PayMentCustomerTotal": 8,
"RefundAmount": 9.0,
"RefundTotal": 10,
"RefundCustomerTotal": 11,
"PerCustomerTransaction": 12.0
}
]
}
application/xml, text/xml
Sample:
<ResponseResultOfArrayOfCustomerDistributionReportDtoLlPhn04F 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:CustomerDistributionReportDto>
<d2p1:CountryCode>sample string 1</d2p1:CountryCode>
<d2p1:CountryName>sample string 2</d2p1:CountryName>
<d2p1:CustomerTotal>3</d2p1:CustomerTotal>
<d2p1:OrderAmount>5</d2p1:OrderAmount>
<d2p1:OrderTotal>4</d2p1:OrderTotal>
<d2p1:PayMentAmount>6</d2p1:PayMentAmount>
<d2p1:PayMentCustomerTotal>8</d2p1:PayMentCustomerTotal>
<d2p1:PayMentTotal>7</d2p1:PayMentTotal>
<d2p1:PerCustomerTransaction>12</d2p1:PerCustomerTransaction>
<d2p1:RefundAmount>9</d2p1:RefundAmount>
<d2p1:RefundCustomerTotal>11</d2p1:RefundCustomerTotal>
<d2p1:RefundTotal>10</d2p1:RefundTotal>
</d2p1:CustomerDistributionReportDto>
<d2p1:CustomerDistributionReportDto>
<d2p1:CountryCode>sample string 1</d2p1:CountryCode>
<d2p1:CountryName>sample string 2</d2p1:CountryName>
<d2p1:CustomerTotal>3</d2p1:CustomerTotal>
<d2p1:OrderAmount>5</d2p1:OrderAmount>
<d2p1:OrderTotal>4</d2p1:OrderTotal>
<d2p1:PayMentAmount>6</d2p1:PayMentAmount>
<d2p1:PayMentCustomerTotal>8</d2p1:PayMentCustomerTotal>
<d2p1:PayMentTotal>7</d2p1:PayMentTotal>
<d2p1:PerCustomerTransaction>12</d2p1:PerCustomerTransaction>
<d2p1:RefundAmount>9</d2p1:RefundAmount>
<d2p1:RefundCustomerTotal>11</d2p1:RefundCustomerTotal>
<d2p1:RefundTotal>10</d2p1:RefundTotal>
</d2p1:CustomerDistributionReportDto>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfArrayOfCustomerDistributionReportDtoLlPhn04F>