POST api/offline/customer/GetList
获取线下客户列表
Request Information
URI Parameters
None.
Body Parameters
ApiPageOfOfflineCustomerListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| data | OfflineCustomerListRequest |
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": {
"keyword": "sample string 1",
"IsDesc": true,
"IsCertifiedDesc": true
},
"PageIndex": 1,
"PageSize": 2
}
application/xml, text/xml
Sample:
<ApiPageOfOfflineCustomerListRequestIoo5uFlX 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>
<IsCertifiedDesc>true</IsCertifiedDesc>
<IsDesc>true</IsDesc>
<keyword>sample string 1</keyword>
</data>
</ApiPageOfOfflineCustomerListRequestIoo5uFlX>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponsePageDecimalOfListOfOfflineCustomerListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Money | decimal number |
None. |
|
| isLastPage | boolean |
None. |
|
| totalItem | integer |
None. |
|
| data | Collection of OfflineCustomerListItem |
None. |
|
| errcode |
错误码,默认为成功:SUCCESS |
string |
None. |
| errmsg |
错误信息,默认为:成功 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Money": 1.0,
"isLastPage": true,
"totalItem": 3,
"data": [
{
"Id": 1,
"Name": "sample string 2",
"Phone": "sample string 3",
"SaleAddressId": 4,
"PayType": 0,
"OwedAmount": 5.0,
"IsCertified": true
},
{
"Id": 1,
"Name": "sample string 2",
"Phone": "sample string 3",
"SaleAddressId": 4,
"PayType": 0,
"OwedAmount": 5.0,
"IsCertified": true
}
],
"errcode": "sample string 4",
"errmsg": "sample string 5"
}
application/xml, text/xml
Sample:
<ResponsePageDecimalOfArrayOfOfflineCustomerListItemUJ8Augit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
<errcode>sample string 4</errcode>
<errmsg>sample string 5</errmsg>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Response">
<d2p1:OfflineCustomerListItem>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsCertified>true</d2p1:IsCertified>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OwedAmount>5</d2p1:OwedAmount>
<d2p1:PayType>Direct</d2p1:PayType>
<d2p1:Phone>sample string 3</d2p1:Phone>
<d2p1:SaleAddressId>4</d2p1:SaleAddressId>
</d2p1:OfflineCustomerListItem>
<d2p1:OfflineCustomerListItem>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsCertified>true</d2p1:IsCertified>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OwedAmount>5</d2p1:OwedAmount>
<d2p1:PayType>Direct</d2p1:PayType>
<d2p1:Phone>sample string 3</d2p1:Phone>
<d2p1:SaleAddressId>4</d2p1:SaleAddressId>
</d2p1:OfflineCustomerListItem>
</data>
<isLastPage>true</isLastPage>
<totalItem>3</totalItem>
<Money>1</Money>
</ResponsePageDecimalOfArrayOfOfflineCustomerListItemUJ8Augit>