The getDeleted() call returns a GetDeletedResult object that contains an array of DeletedRecord records and two properties:
| Name | Type | Description |
|---|---|---|
| earliestDateAvailable | dateTime | For the object type of the getDeleted() call, the timestamp (Coordinated Universal Time (UTC)—not local— timezone) of the last physically deleted object. If this value is less than endDate, the call will fail, and you should resynch your data before performing another replication. |
| deletedRecords[] | deletedRecords | Array of the deleted records which satisfy the start and end dates specified in the getDeleted() call. |
| latestDateCovered | dateTime | The timestamp (Coordinated Universal Time (UTC)—not local— time zone) of the last date covered in the getDeleted() call. If there is a value, it is less than or equal to endDate. A value here indicates that, for safety, you should use this value for the startDate of your next call to capture the changes that started after this date but did not complete before endDate and were, therefore, not returned in the previous call. |
The GetDeletedResult contains and array of deletedRecords, which contain the following properties:
| Name | Type | Description |
|---|---|---|
| deletedDate | dateTime | Date and time (Coordinated Universal Time (UTC)—not local—timezone) when this record was deleted. |
| id | ID | ID of an sObject that has been deleted. |