POST api/OrderSalesReport/GetShopChartPerformanceReport

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfListOfShopPerformanceReportDto
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

Collection of ShopPerformanceReportDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": [
    {
      "Date": "sample string 1",
      "CustomerTotal": 3,
      "OrderTotal": 4,
      "OrderAmount": 5.0,
      "PayMentAmount": 6.0,
      "PayMentTotal": 7,
      "PayMentCustomerTotal": 8,
      "RefundAmount": 9.0,
      "RefundTotal": 10,
      "RefundCustomerTotal": 11,
      "PerCustomerTransaction": 12.0
    },
    {
      "Date": "sample string 1",
      "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:
<ResponseResultOfArrayOfShopPerformanceReportDtoLlPhn04F 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:ShopPerformanceReportDto>
      <d2p1:Currency>sample string 13</d2p1:Currency>
      <d2p1:CustomerTotal>3</d2p1:CustomerTotal>
      <d2p1:Date>sample string 1</d2p1:Date>
      <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:ReportDate>2026-08-11T21:22:32.2346398+08:00</d2p1:ReportDate>
    </d2p1:ShopPerformanceReportDto>
    <d2p1:ShopPerformanceReportDto>
      <d2p1:Currency>sample string 13</d2p1:Currency>
      <d2p1:CustomerTotal>3</d2p1:CustomerTotal>
      <d2p1:Date>sample string 1</d2p1:Date>
      <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:ReportDate>2026-08-11T21:22:32.2346398+08:00</d2p1:ReportDate>
    </d2p1:ShopPerformanceReportDto>
  </Data>
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Status>true</Status>
</ResponseResultOfArrayOfShopPerformanceReportDtoLlPhn04F>