getDeletedRecordIds Method
Table of Contents
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>