POST api/OrderSalesReport/GetCustomerDetailDistributionReport

Request Information

URI Parameters

None.

Body Parameters

ReportSearchReq
NameDescriptionTypeAdditional 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.5682167+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.5682167+08:00</StartTime>
</ReportSearchReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfPageListModelOfCustomerDistributionReportDto
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

PageListModelOfCustomerDistributionReportDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": {
    "Rows": [
      {
        "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
      }
    ],
    "Total": 1,
    "PageIndex": 2,
    "PageSize": 3
  }
}

application/xml, text/xml

Sample:
<ResponseResultOfPageListModelOfCustomerDistributionReportDtoLlPhn04FG0fLBEQf 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:CustomerDistributionReportDto>
        <d3p1:CountryCode>sample string 1</d3p1:CountryCode>
        <d3p1:CountryName>sample string 2</d3p1:CountryName>
        <d3p1:CustomerTotal>3</d3p1:CustomerTotal>
        <d3p1:OrderAmount>5</d3p1:OrderAmount>
        <d3p1:OrderTotal>4</d3p1:OrderTotal>
        <d3p1:PayMentAmount>6</d3p1:PayMentAmount>
        <d3p1:PayMentCustomerTotal>8</d3p1:PayMentCustomerTotal>
        <d3p1:PayMentTotal>7</d3p1:PayMentTotal>
        <d3p1:PerCustomerTransaction>12</d3p1:PerCustomerTransaction>
        <d3p1:RefundAmount>9</d3p1:RefundAmount>
        <d3p1:RefundCustomerTotal>11</d3p1:RefundCustomerTotal>
        <d3p1:RefundTotal>10</d3p1:RefundTotal>
      </d3p1:CustomerDistributionReportDto>
      <d3p1:CustomerDistributionReportDto>
        <d3p1:CountryCode>sample string 1</d3p1:CountryCode>
        <d3p1:CountryName>sample string 2</d3p1:CountryName>
        <d3p1:CustomerTotal>3</d3p1:CustomerTotal>
        <d3p1:OrderAmount>5</d3p1:OrderAmount>
        <d3p1:OrderTotal>4</d3p1:OrderTotal>
        <d3p1:PayMentAmount>6</d3p1:PayMentAmount>
        <d3p1:PayMentCustomerTotal>8</d3p1:PayMentCustomerTotal>
        <d3p1:PayMentTotal>7</d3p1:PayMentTotal>
        <d3p1:PerCustomerTransaction>12</d3p1:PerCustomerTransaction>
        <d3p1:RefundAmount>9</d3p1:RefundAmount>
        <d3p1:RefundCustomerTotal>11</d3p1:RefundCustomerTotal>
        <d3p1:RefundTotal>10</d3p1:RefundTotal>
      </d3p1:CustomerDistributionReportDto>
    </d2p1:Rows>
    <d2p1:Total>1</d2p1:Total>
  </Data>
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Status>true</Status>
</ResponseResultOfPageListModelOfCustomerDistributionReportDtoLlPhn04FG0fLBEQf>