GetDeletedAttachments
Retrieve IDs of document or object attachments deleted within a 30 days range.
Input
| Name | Type | Required | Description |
| ObjectName | String | True | The name of the vault object to retrieve the deleted attachments for. Set this value to Documents in order to retrieve documents deleted attachments |
| StartDate | String | False | Specify a date (no more than 30 days past) after which Vault will look for deleted attachments. |
| EndDate | String | False | Specify a date (no more than 30 days past) before which Vault will look for deleted attachments. |
Result Set Columns
| Name | Type | Description |
| Id | String | The ID of this deleted attachment or attachment version. |
| Version | String | TThe version of this deleted attachment. If all versions of the attachment were deleted, this value is blank |
| DateDeleted | String | The date and time this attachment or attachment version was deleted. |
| ExternalId | String | The external ID of this deleted attachment or attachment version. May be null if no external ID was set for this attachment. |
| GlobalId | String | The global ID of this deleted attachment or attachment version. |
| GlobalVersionId | String | The global version ID of this deleted attachment or attachment version. If all versions of the attachment were deleted, this value is null. |
| DeletionType | String | Indicates whether this record represents a deleted attachment or a deleted attachment version. Possible values are 'attachment__sys': this attachment was deleted in full, including all versions. For example, this document attachment was deleted with the Delete user action in the Vault UI, or with Vault API. and 'AttachmentVersion': this attachment version was deleted. For example, this document attachment version was deleted with the Delete Single Document Attachment Version API . |