POST api/boss/statisticscustomer/ranking

分页获取客户消费排行

Request Information

URI Parameters

None.

Body Parameters

ApiPageOfApiSearchTime
NameDescriptionTypeAdditional information
data

ApiSearchTime

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:
{
  "data": {
    "BeginTime": "2026-02-15T19:52:22.7260488+08:00",
    "EndTime": "2026-02-15T19:52:22.7260488+08:00"
  },
  "PageIndex": 1,
  "PageSize": 2
}

application/xml, text/xml

Sample:
<ApiPageOfApiSearchTimeIoo5uFlX 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>
  <data>
    <BeginTime>2026-02-15T19:52:22.7260488+08:00</BeginTime>
    <EndTime>2026-02-15T19:52:22.7260488+08:00</EndTime>
  </data>
</ApiPageOfApiSearchTimeIoo5uFlX>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponsePageOfListOfStatisticsCustomerMyCustomerModel
NameDescriptionTypeAdditional information
isLastPage

boolean

None.

totalItem

integer

None.

data

Collection of StatisticsCustomerMyCustomerModel

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isLastPage": true,
  "totalItem": 2,
  "data": [
    {
      "CustomerId": 1,
      "ImgUrl": "sample string 2",
      "Name": "sample string 3",
      "MoneyCount": 4.0,
      "GoodsCount": 5,
      "CustomerRemark": "sample string 6"
    },
    {
      "CustomerId": 1,
      "ImgUrl": "sample string 2",
      "Name": "sample string 3",
      "MoneyCount": 4.0,
      "GoodsCount": 5,
      "CustomerRemark": "sample string 6"
    }
  ],
  "errcode": "sample string 3",
  "errmsg": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponsePageOfArrayOfStatisticsCustomerMyCustomerModelUJ8Augit 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:StatisticsCustomerMyCustomerModel>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerRemark>sample string 6</d2p1:CustomerRemark>
      <d2p1:GoodsCount>5</d2p1:GoodsCount>
      <d2p1:ImgUrl>sample string 2</d2p1:ImgUrl>
      <d2p1:MoneyCount>4</d2p1:MoneyCount>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:StatisticsCustomerMyCustomerModel>
    <d2p1:StatisticsCustomerMyCustomerModel>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerRemark>sample string 6</d2p1:CustomerRemark>
      <d2p1:GoodsCount>5</d2p1:GoodsCount>
      <d2p1:ImgUrl>sample string 2</d2p1:ImgUrl>
      <d2p1:MoneyCount>4</d2p1:MoneyCount>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:StatisticsCustomerMyCustomerModel>
  </data>
  <isLastPage>true</isLastPage>
  <totalItem>2</totalItem>
</ResponsePageOfArrayOfStatisticsCustomerMyCustomerModelUJ8Augit>