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: https://www.zohoapis.com/crm/v2/{module_api_name}/{record_id}/Attachments/{attachment_id}
Method: GET
Header: Authorization=Zoho-oauthtoken {oauth_token}
For Example : https://www.zohoapis.com/crm/v2/Leads/1386586000000803001/Attachments/1386586000002579051
Request Parameters
Version 1.0 |
Version 2.0 |
authtoken=**** |
Authorization=Zoho-oauthtoken ***** - as a Header. |
scope=crmapi |
N/A |
id |
Given within the Request URL. |
Related Articles
downloadFile Method
Purpose You can use this method to download files from CRM to your system. Request URL XML Format: https://crm.zoho.com/crm/private/xml/Leads/downloadFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id JSON Format: ...
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: ...
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 ...
deleteRecords Method - Comparison
Purpose To delete the selected records. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=AuthToken&scope=crmapi&id=Record ID Version 2.0: URL: https://www.zohoapis.com/crm/v2/Leads/{record_id} Method: DELETE ...
deleteFile Method - Comparison
Purpose To delete a file attached to a record. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/deleteFile?authtoken=AuthToken&scope=crmapi&sid=Attachment Id Version 2.0: URL: ...