POST api/offline/Order/SaleCountDetailList

订单统计销售详细(已弃用)

Request Information

URI Parameters

None.

Body Parameters

SaleCountListRequest
NameDescriptionTypeAdditional information
StartTime

开始时间

date

None.

EndTime

结束时间

date

None.

CustomerId

客户ID

integer

None.

CustomerType

客户类型

CustomerType

None.

ProductVarietyId

品种ID

integer

None.

VenderId

基地ID

integer

None.

PageIndex

页面起始项的索引,如{PageIndex=0,PageSize=10}:取0~9项(前十项);{PageIndex=10,PageSize=10}:取10~19项

integer

None.

PageSize

获取数量

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StartTime": "2025-12-26T20:15:05.4896382+08:00",
  "EndTime": "2025-12-26T20:15:05.4896382+08:00",
  "CustomerId": 1,
  "CustomerType": 0,
  "ProductVarietyId": 1,
  "VenderId": 1,
  "PageIndex": 1,
  "PageSize": 2
}

application/xml, text/xml

Sample:
<SaleCountListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request">
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <CustomerId>1</CustomerId>
  <CustomerType>Online</CustomerType>
  <EndTime>2025-12-26T20:15:05.4896382+08:00</EndTime>
  <ProductVarietyId>1</ProductVarietyId>
  <StartTime>2025-12-26T20:15:05.4896382+08:00</StartTime>
  <VenderId>1</VenderId>
</SaleCountListRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponsePageOfListOfSaleCountDetailListResponse
NameDescriptionTypeAdditional information
isLastPage

boolean

None.

totalItem

integer

None.

data

Collection of SaleCountDetailListResponse

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isLastPage": true,
  "totalItem": 2,
  "data": [
    {
      "Id": 1,
      "OrderNo": "sample string 2",
      "Name": "sample string 3",
      "Phone": "sample string 4",
      "PayCount": 5,
      "ReturnBackCount": 6,
      "SaleMoney": 7.0
    },
    {
      "Id": 1,
      "OrderNo": "sample string 2",
      "Name": "sample string 3",
      "Phone": "sample string 4",
      "PayCount": 5,
      "ReturnBackCount": 6,
      "SaleMoney": 7.0
    }
  ],
  "errcode": "sample string 3",
  "errmsg": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponsePageOfArrayOfSaleCountDetailListResponseUJ8Augit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 3</errcode>
  <errmsg>sample string 4</errmsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Response">
    <d2p1:SaleCountDetailListResponse>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:OrderNo>sample string 2</d2p1:OrderNo>
      <d2p1:PayCount>5</d2p1:PayCount>
      <d2p1:Phone>sample string 4</d2p1:Phone>
      <d2p1:ReturnBackCount>6</d2p1:ReturnBackCount>
      <d2p1:SaleMoney>7</d2p1:SaleMoney>
    </d2p1:SaleCountDetailListResponse>
    <d2p1:SaleCountDetailListResponse>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:OrderNo>sample string 2</d2p1:OrderNo>
      <d2p1:PayCount>5</d2p1:PayCount>
      <d2p1:Phone>sample string 4</d2p1:Phone>
      <d2p1:ReturnBackCount>6</d2p1:ReturnBackCount>
      <d2p1:SaleMoney>7</d2p1:SaleMoney>
    </d2p1:SaleCountDetailListResponse>
  </data>
  <isLastPage>true</isLastPage>
  <totalItem>2</totalItem>
</ResponsePageOfArrayOfSaleCountDetailListResponseUJ8Augit>