getSearchRecordsByPDC

getSearchRecordsbyPDC Method - Comparison

Purpose

To search the values based on pre-defined columns.

Request URL

Version 1.0:

https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?newFormat=1&authtoken=Auth Token&scope=crmapi

Version 2.0:

URL: https://www.zohoapis.com/crm/v2/Leads/search

Method: GET

Header: Authorization=Zoho-oauthtoken {oauth_token}

Request Parameters

Version 1.0Version 2.0
authtoken=****Authorization=Zoho-oauthtoken ***** - as a Header.
scope=crmapiN/A
selectColumns==Leads(First Name,Last Name,Email,Company,Campaign Source)fields=First_Name,Last_Name,Email,Company
First_Name,Last_Name,Email,Company are field API names
fromIndex=1&toIndex=20page=1&per_page=20
searchColumn=email
searchValue=email@zoho.com
criteria=(Email:equals:email@zoho.com)
Email is the field API name
newFormatN/A
versionN/A
 

Sample API Request:

Request in Version 1.0Request in Version 2.0
https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?authtoken=*****&searchColumn=email&searchValue=email@zoho.comURL - https://www.zohoapis.com/crm/v2/Leads/search?criteria=(Email:equals:email@zoho.com)
 

Note:

The responses are similar to the getRecords API response.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocrm.com