POST dz_api/DealCust/Search

检索成单客户列表信息

Request Information

URI Parameters

None.

Body Parameters

SearchDealCustConditions
NameDescriptionTypeAdditional information
Keyword

关键字

string

None.

Salesmans

业务员

Collection of integer

None.

OrderDateStart

首次成单日期起

date

None.

OrderDateEnd

首次成单日期至

date

None.

FDateStart

下次跟进时间起

date

None.

FDateEnd

下次跟进时间至

date

None.

BusinessId

服务类型

integer

None.

IncludeAll

是否包含我分管业务员的客户

boolean

None.

IsAdmin

是否是管理员或部门经理

boolean

None.

PageIndex

页码

integer

None.

PageSize

页面大小

integer

None.

NoPaged

不要分页

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Keyword": "sample string 1",
  "Salesmans": [
    1,
    2
  ],
  "OrderDateStart": "2024-04-27T22:20:42.3328128+08:00",
  "OrderDateEnd": "2024-04-27T22:20:42.3328128+08:00",
  "FDateStart": "2024-04-27T22:20:42.3328128+08:00",
  "FDateEnd": "2024-04-27T22:20:42.3328128+08:00",
  "BusinessId": 2,
  "IncludeAll": true,
  "IsAdmin": true,
  "PageIndex": 5,
  "PageSize": 6,
  "NoPaged": true
}

application/xml, text/xml

Sample:
<SearchDealCustConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.CRM.Sales">
  <NoPaged xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.CRM">true</NoPaged>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.CRM">5</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.CRM">6</PageSize>
  <BusinessId>2</BusinessId>
  <FDateEnd>2024-04-27T22:20:42.3328128+08:00</FDateEnd>
  <FDateStart>2024-04-27T22:20:42.3328128+08:00</FDateStart>
  <IncludeAll>true</IncludeAll>
  <IsAdmin>true</IsAdmin>
  <Keyword>sample string 1</Keyword>
  <OrderDateEnd>2024-04-27T22:20:42.3328128+08:00</OrderDateEnd>
  <OrderDateStart>2024-04-27T22:20:42.3328128+08:00</OrderDateStart>
  <Salesmans xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Salesmans>
</SearchDealCustConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

检索成单客户列表信息

PagedListOfDealCustListModel
NameDescriptionTypeAdditional information
Items

Collection of DealCustListModel

None.

Total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "CustId": 1,
      "CompanyName": "sample string 2",
      "Contact": "sample string 3",
      "ContactId": 4,
      "Phone": "sample string 5",
      "Email": "sample string 6",
      "FirstBusinessName": "sample string 7",
      "OrderTime": "sample string 8",
      "Amount": 9.0,
      "Content": "sample string 10",
      "FollowupId": 11,
      "FollowupTime": "sample string 12",
      "NextFollowupTime": "sample string 13",
      "AaCustId": 14,
      "IsMyClue": true,
      "EmployeeId": 16,
      "Salesman": "sample string 17"
    },
    {
      "CustId": 1,
      "CompanyName": "sample string 2",
      "Contact": "sample string 3",
      "ContactId": 4,
      "Phone": "sample string 5",
      "Email": "sample string 6",
      "FirstBusinessName": "sample string 7",
      "OrderTime": "sample string 8",
      "Amount": 9.0,
      "Content": "sample string 10",
      "FollowupId": 11,
      "FollowupTime": "sample string 12",
      "NextFollowupTime": "sample string 13",
      "AaCustId": 14,
      "IsMyClue": true,
      "EmployeeId": 16,
      "Salesman": "sample string 17"
    }
  ],
  "Total": 1
}

application/xml, text/xml

Sample:
<PagedListOfDealCustListModelyy02hPDa 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.WebApi.Areas.CRM.Models">
    <d2p1:DealCustListModel>
      <d2p1:AaCustId>14</d2p1:AaCustId>
      <d2p1:Amount>9</d2p1:Amount>
      <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
      <d2p1:Contact>sample string 3</d2p1:Contact>
      <d2p1:ContactId>4</d2p1:ContactId>
      <d2p1:Content>sample string 10</d2p1:Content>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:Email>sample string 6</d2p1:Email>
      <d2p1:EmployeeId>16</d2p1:EmployeeId>
      <d2p1:FirstBusinessName>sample string 7</d2p1:FirstBusinessName>
      <d2p1:FollowupId>11</d2p1:FollowupId>
      <d2p1:FollowupTime>sample string 12</d2p1:FollowupTime>
      <d2p1:IsMyClue>true</d2p1:IsMyClue>
      <d2p1:NextFollowupTime>sample string 13</d2p1:NextFollowupTime>
      <d2p1:OrderTime>sample string 8</d2p1:OrderTime>
      <d2p1:Phone>sample string 5</d2p1:Phone>
      <d2p1:Salesman>sample string 17</d2p1:Salesman>
    </d2p1:DealCustListModel>
    <d2p1:DealCustListModel>
      <d2p1:AaCustId>14</d2p1:AaCustId>
      <d2p1:Amount>9</d2p1:Amount>
      <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
      <d2p1:Contact>sample string 3</d2p1:Contact>
      <d2p1:ContactId>4</d2p1:ContactId>
      <d2p1:Content>sample string 10</d2p1:Content>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:Email>sample string 6</d2p1:Email>
      <d2p1:EmployeeId>16</d2p1:EmployeeId>
      <d2p1:FirstBusinessName>sample string 7</d2p1:FirstBusinessName>
      <d2p1:FollowupId>11</d2p1:FollowupId>
      <d2p1:FollowupTime>sample string 12</d2p1:FollowupTime>
      <d2p1:IsMyClue>true</d2p1:IsMyClue>
      <d2p1:NextFollowupTime>sample string 13</d2p1:NextFollowupTime>
      <d2p1:OrderTime>sample string 8</d2p1:OrderTime>
      <d2p1:Phone>sample string 5</d2p1:Phone>
      <d2p1:Salesman>sample string 17</d2p1:Salesman>
    </d2p1:DealCustListModel>
  </Items>
  <Total>1</Total>
</PagedListOfDealCustListModelyy02hPDa>