POST api/SalesAnalysis/DownloadReport

Request Information

URI Parameters

None.

Body Parameters

SalesAnalysisQueryReq
NameDescriptionTypeAdditional information
Periodic

ReportPeriodicEnum

None.

StartTime

date

None.

EndTime

date

None.

BrushOrderType

BrushOrderTypeEnum

None.

FetchAll

boolean

None.

Sort

SearchSort

None.

PlatformTypes

Collection of PlatformType

None.

ShopIds

Collection of integer

None.

CountryCodes

Collection of string

None.

Currency

CurrencyTypeEnum

None.

ReportType

ReportTypeEnum

None.

SearchField

ReportSearchFieldEnum

None.

SearchValue

string

None.

IsLike

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Periodic": 0,
  "StartTime": "2026-08-11 21:57:04",
  "EndTime": "2026-08-11 21:57:04",
  "BrushOrderType": 0,
  "FetchAll": true,
  "Sort": {
    "Field": "sample string 1",
    "IsDesc": true
  },
  "PlatformTypes": [
    0,
    0
  ],
  "ShopIds": [
    1,
    2
  ],
  "CountryCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "Currency": 0,
  "ReportType": 0,
  "SearchField": 0,
  "SearchValue": "sample string 5",
  "IsLike": true,
  "PageIndex": 7,
  "PageSize": 8
}

application/xml, text/xml

Sample:
<SalesAnalysisQueryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product.SalesAnalysis">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/MS.Common">7</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/MS.Common">8</PageSize>
  <BrushOrderType i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product" />
  <CountryCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CountryCodes>
  <Currency xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">CNY</Currency>
  <IsLike xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">true</IsLike>
  <PlatformTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Willv.Common.Enum" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">
    <d2p1:PlatformType>AliExpress</d2p1:PlatformType>
    <d2p1:PlatformType>AliExpress</d2p1:PlatformType>
  </PlatformTypes>
  <ReportType xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">OnlineProductId</ReportType>
  <SearchField xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">OnlineProductId</SearchField>
  <SearchValue xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">sample string 5</SearchValue>
  <ShopIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ShopIds>
  <BrushOrderType>Normal</BrushOrderType>
  <DateCardType>
    <ReportDateCardType>
      <PeriodType>Value</PeriodType>
      <Periodic>Day</Periodic>
      <ReportDate xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </ReportDate>
    </ReportDateCardType>
    <ReportDateCardType>
      <PeriodType>Value</PeriodType>
      <Periodic>Day</Periodic>
      <ReportDate xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </ReportDate>
    </ReportDateCardType>
  </DateCardType>
  <DateType>
    <ReportDateType>
      <Periodic>Day</Periodic>
      <ReportDateRange xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </ReportDateRange>
    </ReportDateType>
    <ReportDateType>
      <Periodic>Day</Periodic>
      <ReportDateRange xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </ReportDateRange>
    </ReportDateType>
  </DateType>
  <EndTime>2026-08-11T21:57:04.0808935+08:00</EndTime>
  <FetchAll>true</FetchAll>
  <IsNoPage>true</IsNoPage>
  <Periodic>Day</Periodic>
  <Sort xmlns:d2p1="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">
    <d2p1:Field>sample string 1</d2p1:Field>
    <d2p1:IsDesc>true</d2p1:IsDesc>
  </Sort>
  <StartTime>2026-08-11T21:57:04.0808935+08:00</StartTime>
</SalesAnalysisQueryReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.