getDeletedRecordIds Method

getDeletedRecordIds Method

Purpose

You can use the getDeletedRecordIdsmethod to retrieve the list of IDs of deleted records from recylce bin.

Request URL

XML Format:
https://crm.zoho.com/crm/private/xml/<Module>/getDeletedRecordIds?authtoken=Auth Token&scope=crmapi

JSON Format:
https://crm.zoho.com/crm/private/json/<Module>/getDeletedRecordIds?authtoken=Auth Token&scope=crmapi

Request Parameters

Parameter Data Type Description
authtoken* String Encrypted alphanumeric string to authenticate your Zoho credentials.
scope* String Specify the value as crmapi.
fromIndex Integer Default value - 1
toIndex Integer Default value - 20
Maximum range value - 200
[Maximum range value = toIndex - fromIndex]
lastModifiedTime yyyy-MM-dd HH:mm:ss Default value: null
If you specify the time, created/modified data will be fetched after the configured time.

* - Mandatory parameter

Sample Response

This sample response is to view the deleted records in Potentials module:

<response uri="/crm/private/xml/Potentials/getDeletedRecordIds">
<result>
<DeletedIDs>
1000000065001,1000000037041,1000000037027,1000000026001
</DeletedIDs>
</result>
</response>
    • Related Articles

    • getDeletedRecordIds Method - Comparison

      Purpose To delete a specific or multiple records. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/<Module>/getDeletedRecordIds?authtoken=AuthToken&scope=crmapi Version 2.0: URL: https://www.zohoapis.com/crm/v2/{module_api_name}/deleted ...
    • 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. ...
    • 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: ...
    • 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: ...