downloadPhoto Method

downloadPhoto Method

 Purpose

You can use this method to download the photos of Leads or Contacts.

 Request URL

XML Format:

For Leads:
https://crm.zoho.com/crm/private/xml/Leads/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID

For Contacts:
https://crm.zoho.com/crm/private/xml/Contacts/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID

JSON Format:

For Leads:
https://crm.zoho.com/crm/private/json/Leads/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID

For Contacts:
https://crm.zoho.com/crm/private/json/Contacts/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID

 Request Parameters

Parameter Data Type Description
authtoken* String Encrypted alphanumeric string to authenticate your Zoho credentials.
scope* String Specify the value as crmapi
id* String Specify unique ID of the record

* - Mandatory parameter

Note:

You will receive image file (PNG, JPG, GIF etc.,) as the response while executing this method. Programmatically download the image to your system and complete the other operations as per your API integration requirements.

    • Related Articles

    • 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: ...
    • deleteRecords Method

      Table of Contents Purpose Request URL Request Parameters Example Purpose You can use this method to delete the selected record (you must specify unique ID of the record) and move to the recycle bin. Note: This method is availablefor all modules. ...
    • searchRecords Method

       Purpose You can use the searchRecords method to get the list of records that meet your search criteria.  Request URL XML Format: https://crm.zoho.com/crm/private/xml/Leads/searchRecords?authtoken=Auth Token&scope=crmapi&criteria=(((Last ...
    • deleteFile Method

      Purpose You can use this method to delete files attached to records. Request URL XML Format: https://crm.zoho.com/crm/private/xml/Leads/deleteFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id JSON Format: ...
    • delink Method

       Purpose You can use the delink method to dissassociate the relationship between parent and child records. For example, cases or tasks that are associated with account can be delinked, so that cases or tasks can be associated with another account ...