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— timezone) of the earliest process within the range of the startDate and endDate specified in the getDeleted() call that did not complete. A value here indicates that for safety, you should use this value for your next startDate in order to capture the changes that started after startDate but did not complete before endDate and were therefore not returned in this 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. |