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.0 |
Version 2.0 |
authtoken=**** |
Authorization=Zoho-oauthtoken ***** - as a Header. |
scope=crmapi |
N/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=20 |
page=1&per_page=20 |
searchColumn=email searchValue=email@zoho.com |
criteria=(Email:equals:email@zoho.com) Email is the field API name |
newFormat |
N/A |
version |
N/A |
Sample API Request:
Request in Version 1.0 |
Request in Version 2.0 |
https://crm.zoho.com/crm/private/xml/Leads/getSearchRecordsByPDC?authtoken=*****&searchColumn=email&searchValue=email@zoho.com |
URL - https://www.zohoapis.com/crm/v2/Leads/search?criteria=(Email:equals:email@zoho.com) |
Note:
The responses are similar to the getRecords API response.
Related Articles
getSearchRecordsByPDC Method
Table of Contents Purpose Request URL Request Parameters Default Predefined Columns Examples Leads with email column starting from 20 to 200 Leads with email column Leads with campaignid column Contacts with vendorid column Products with vendorid ...
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)) ...
downloadPhoto Method - Comparison
Purpose To download the photo of a lead or a contact. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/(Leads or Contacts)/downloadPhoto?authtoken=AuthToken&scope=crmapi&id=RecordID Version 2.0: URL: ...
downloadFile Method - Comparison
Purpose To download a file attached to a record. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/downloadFile?authtoken=AuthToken&scope=crmapi&id=Attachment Id Version 2.0: URL: ...
deletePhoto Method - Comparison
Purpose To delete a photo of a contact or lead. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/(Leads or Contacts)/deletePhoto?authtoken=AuthToken&scope=crmapi&id=RecordID Version 2.0: URL: https://www.zohoapis.com/crm/v2/{Leads or ...