searchRecords

searchRecords 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/searchRecords?authtoken=AuthToken&scope=crmapi&criteria=(((Last Name:Steve)AND(Company:Zillum))OR(Lead Status:Contacted))

Version 2.0:

URL: https://www.zohoapis.com/crm/v2/Leads/search?criteria=((Last_Name:starts_with:G) and (Email:equals:deborah@healthnet.com))

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
criteria=(((Last Name:Steve)AND(Company:Zillum))OR(Lead Status:Contacted))criteria=(((Last_Name:equals:Steve) and (Company:equals:Zillum)) or (Lead_Status:equals:Contacted))
newFormatN/A
lastModifiedTimeIf-Modified-Since header
 

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.com
URL - https://crm.zoho.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