您可以使用这种方法根据预定义的列搜索值。
XML 格式:
https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?newFormat=1&authtoken=Auth Token&scope=crmapi
JSON 格式:
https://crm.zoho.com/crm/private/json/Leads/getSearchRecordsByPDC?newFormat=1&authtoken=Auth Token&scope=crmapi
参数 | 数据类型 | 描述 |
authotoken* | 字符串 | 加密的字母数字字符串,以对您的Zoho用户名密码进行身份验证。 |
scope* | 字符串 | 指定 crmapi 为范围 |
selectColumns* | 字符串 | All 或 模块(字段1,字段2,字段3,字段 n...) 示例: leads(Last Name,Website,Email) |
searchColumn* | 字符串 | 指定预定搜索列 |
searchValue* | 字符串 | 指定要搜索的值 |
newFormat | 整数 | newFormat=1: 从您的CRM帐号插入数据时,排除含“空”值的字段。 newFormat=2: 从您的CRM帐号插入数据时,包括含“空”值的字段。 |
version | 整数 | version = 1:(默认值) 这将根据较早的API执行,即作出改进之前的获取响应。 version = 2: 这将根据最近的API执行获取响应。 |
* - 必填参数
备注:
模块 | 字段 |
leads |
|
Accounts |
|
contacts |
|
Potentials |
|
Campaigns |
|
Cases |
|
Solutions |
|
Products |
|
Purchase Order |
|
Quotes |
|
Sales Orders |
|
Invoices |
|
Vendors |
|
Tasks |
|
Events |
|
Notes |
|
https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?newFormat=1&authtoken=Auth Token&scope=crmapi &selectColumns=leads(Last Name,Website,Email)&searchColumn=email &searchValue=abc@testingdomain.com
https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?authtoken=Auth Token&scope=crmapi
&selectColumns=Leads(Last Name,Website,Email)
&searchColumn=email
&searchValue=test@test.com
https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?authtoken=Auth Token&scope=crmapi
&selectColumns=Leads(Last Name,Website,Email)
&searchColumn=campaignid
&searchValue=2000000017011
https://crm.zoho.com/crm/private/xml/Contacts/getSearchRecordsByPDC?authtoken=Auth Token&scope=crmapi
&selectColumns=Contacts(Contact Owner,Lead Source,First Name,Last Name,Account Name)
&searchColumn=vendorid
&searchValue=2000000017022
https://crm.zoho.com/crm/private/xml/Products/getSearchRecordsByPDC?authtoken=Auth Token&scope=crmapi
&selectColumns=Products(Product Owner,Product Name,Product Code,Manufacturer,Product Category,Unit Price)
&searchColumn=vendorid
&searchValue=2000000017022
https://crm.zoho.com/crm/private/xml/SalesOrders/getSearchRecordsByPDC?authtoken=Auth Token&scope=crmapi
&selectColumns=SalesOrders(SO Number,Subject,Due Date,Carrier,Status)
&searchColumn=accountid
&searchValue=2000000017003
您可以使用附件中的 程序在您的Java环境中运行和测试 getSearchRecordsByPDC方法。
Java程序包含以下内容:
点击这里 下载程序