POST dz_api/Customer/Search

获取客户列表信息

Request Information

URI Parameters

None.

Body Parameters

检索条件

CustomerSearchConditions
NameDescriptionTypeAdditional information
Conditions

CustomerSearchConditions

None.

Ids

Collection of integer

None.

ServiceType

服务类别(0代表全部)

ServiceTypeEnums

None.

CustId

下拉框中选中的客户

integer

None.

CustIds

客户ID数组(此项根据“ServiceType”获取)

Collection of integer

None.

SelectCustIds

客户ID数组(此项由前端页面设置,用于打印或导出)

Collection of integer

None.

Keyword

客户编码或名称关键字

string

None.

DateStart

新增日期起

date

None.

DateEnd

新增日期至

date

None.

Location

所在地

integer

None.

TaxBureau

主管税务机关

string

None.

TaxType

纳税性质

TaxTypeEnums

None.

LevelId

客户等级

integer

None.

SourceId

客户来源

integer

None.

Clerk

业务员

integer

None.

Tags

客户标签

Collection of integer

None.

PageSize

页面大小

integer

None.

PageIndex

页码

integer

None.

OrderBy

排序字段

string

None.

OrderAs

升序/降序(asc:升序,desc:降序)

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取客户列表信息

PagedListOfCustomerRowInfo
NameDescriptionTypeAdditional information
Items

Collection of CustomerRowInfo

None.

Total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "CustId": 1,
      "CustNo": "sample string 2",
      "CustName": "sample string 3",
      "Authorized": true,
      "TaxType": 1010,
      "TaxTypeName": "sample string 5",
      "Location": 6,
      "LocationName": "sample string 7",
      "Address": "sample string 8",
      "FoundDate": "sample string 9",
      "TaxBureau": "sample string 10",
      "ServiceType": 1000,
      "ServiceTypeName": "sample string 11",
      "GetInvoiceType": 1010,
      "GetInvoiceTypeName": "sample string 12",
      "GetInvoiceCycle": 13,
      "LevelId": 14,
      "levelName": "sample string 15",
      "SourceId": 16,
      "SourceName": "sample string 17",
      "Clerk": 18,
      "ClerkName": "sample string 19",
      "Contact": "sample string 20",
      "Phone": "sample string 21",
      "WxPhone": "sample string 22",
      "Tags": [
        1,
        2
      ],
      "TagNames": "sample string 23",
      "Note": "sample string 24",
      "followDate": "sample string 25",
      "HaveOw": true,
      "CreatedDate": "sample string 27",
      "AccAsId": 28,
      "IsPro": true
    },
    {
      "CustId": 1,
      "CustNo": "sample string 2",
      "CustName": "sample string 3",
      "Authorized": true,
      "TaxType": 1010,
      "TaxTypeName": "sample string 5",
      "Location": 6,
      "LocationName": "sample string 7",
      "Address": "sample string 8",
      "FoundDate": "sample string 9",
      "TaxBureau": "sample string 10",
      "ServiceType": 1000,
      "ServiceTypeName": "sample string 11",
      "GetInvoiceType": 1010,
      "GetInvoiceTypeName": "sample string 12",
      "GetInvoiceCycle": 13,
      "LevelId": 14,
      "levelName": "sample string 15",
      "SourceId": 16,
      "SourceName": "sample string 17",
      "Clerk": 18,
      "ClerkName": "sample string 19",
      "Contact": "sample string 20",
      "Phone": "sample string 21",
      "WxPhone": "sample string 22",
      "Tags": [
        1,
        2
      ],
      "TagNames": "sample string 23",
      "Note": "sample string 24",
      "followDate": "sample string 25",
      "HaveOw": true,
      "CreatedDate": "sample string 27",
      "AccAsId": 28,
      "IsPro": true
    }
  ],
  "Total": 1
}

application/xml, text/xml

Sample:
<PagedListOfCustomerRowInfoUu8jjCOx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
    <d2p1:CustomerRowInfo>
      <d2p1:AccAsId>28</d2p1:AccAsId>
      <d2p1:Address>sample string 8</d2p1:Address>
      <d2p1:Authorized>true</d2p1:Authorized>
      <d2p1:Clerk>18</d2p1:Clerk>
      <d2p1:ClerkName>sample string 19</d2p1:ClerkName>
      <d2p1:Contact>sample string 20</d2p1:Contact>
      <d2p1:CreatedDate>sample string 27</d2p1:CreatedDate>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:CustName>sample string 3</d2p1:CustName>
      <d2p1:CustNo>sample string 2</d2p1:CustNo>
      <d2p1:FoundDate>sample string 9</d2p1:FoundDate>
      <d2p1:GetInvoiceCycle>13</d2p1:GetInvoiceCycle>
      <d2p1:GetInvoiceType>CallOn</d2p1:GetInvoiceType>
      <d2p1:GetInvoiceTypeName>sample string 12</d2p1:GetInvoiceTypeName>
      <d2p1:HaveOw>true</d2p1:HaveOw>
      <d2p1:IsPro>true</d2p1:IsPro>
      <d2p1:LevelId>14</d2p1:LevelId>
      <d2p1:Location>6</d2p1:Location>
      <d2p1:LocationName>sample string 7</d2p1:LocationName>
      <d2p1:Note>sample string 24</d2p1:Note>
      <d2p1:Phone>sample string 21</d2p1:Phone>
      <d2p1:ServiceType>AgencyAndBusiness</d2p1:ServiceType>
      <d2p1:ServiceTypeName>sample string 11</d2p1:ServiceTypeName>
      <d2p1:SourceId>16</d2p1:SourceId>
      <d2p1:SourceName>sample string 17</d2p1:SourceName>
      <d2p1:TagNames>sample string 23</d2p1:TagNames>
      <d2p1:Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:Tags>
      <d2p1:TaxBureau>sample string 10</d2p1:TaxBureau>
      <d2p1:TaxType>GeneralTaxpayer</d2p1:TaxType>
      <d2p1:TaxTypeName>sample string 5</d2p1:TaxTypeName>
      <d2p1:WxPhone>sample string 22</d2p1:WxPhone>
      <d2p1:followDate>sample string 25</d2p1:followDate>
      <d2p1:levelName>sample string 15</d2p1:levelName>
    </d2p1:CustomerRowInfo>
    <d2p1:CustomerRowInfo>
      <d2p1:AccAsId>28</d2p1:AccAsId>
      <d2p1:Address>sample string 8</d2p1:Address>
      <d2p1:Authorized>true</d2p1:Authorized>
      <d2p1:Clerk>18</d2p1:Clerk>
      <d2p1:ClerkName>sample string 19</d2p1:ClerkName>
      <d2p1:Contact>sample string 20</d2p1:Contact>
      <d2p1:CreatedDate>sample string 27</d2p1:CreatedDate>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:CustName>sample string 3</d2p1:CustName>
      <d2p1:CustNo>sample string 2</d2p1:CustNo>
      <d2p1:FoundDate>sample string 9</d2p1:FoundDate>
      <d2p1:GetInvoiceCycle>13</d2p1:GetInvoiceCycle>
      <d2p1:GetInvoiceType>CallOn</d2p1:GetInvoiceType>
      <d2p1:GetInvoiceTypeName>sample string 12</d2p1:GetInvoiceTypeName>
      <d2p1:HaveOw>true</d2p1:HaveOw>
      <d2p1:IsPro>true</d2p1:IsPro>
      <d2p1:LevelId>14</d2p1:LevelId>
      <d2p1:Location>6</d2p1:Location>
      <d2p1:LocationName>sample string 7</d2p1:LocationName>
      <d2p1:Note>sample string 24</d2p1:Note>
      <d2p1:Phone>sample string 21</d2p1:Phone>
      <d2p1:ServiceType>AgencyAndBusiness</d2p1:ServiceType>
      <d2p1:ServiceTypeName>sample string 11</d2p1:ServiceTypeName>
      <d2p1:SourceId>16</d2p1:SourceId>
      <d2p1:SourceName>sample string 17</d2p1:SourceName>
      <d2p1:TagNames>sample string 23</d2p1:TagNames>
      <d2p1:Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:Tags>
      <d2p1:TaxBureau>sample string 10</d2p1:TaxBureau>
      <d2p1:TaxType>GeneralTaxpayer</d2p1:TaxType>
      <d2p1:TaxTypeName>sample string 5</d2p1:TaxTypeName>
      <d2p1:WxPhone>sample string 22</d2p1:WxPhone>
      <d2p1:followDate>sample string 25</d2p1:followDate>
      <d2p1:levelName>sample string 15</d2p1:levelName>
    </d2p1:CustomerRowInfo>
  </Items>
  <Total>1</Total>
</PagedListOfCustomerRowInfoUu8jjCOx>