Attachment
Stores file attachments related to various Salesforce records, such as accounts, opportunities, or cases.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the attachment record. | |
| IsDeleted | Boolean | True |
Indicates whether the attachment has been deleted from Salesforce. | |
| ParentId | String | False |
ID of the parent record the attachment is associated with, such as an Account, Case, or Opportunity. | |
| Name | String | False |
The name of the attached file, including its file extension. | |
| IsPrivate | Boolean | False |
Specifies whether the attachment is private. Private attachments are accessible only to the owner and users above them in the role hierarchy. | |
| ContentType | String | False |
The MIME type of the attached file, such as application/pdf or image/jpeg. | |
| BodyLength | Int | True |
The size of the attached file, in bytes. | |
| Body | String | False |
The file content of the attachment, stored in Base64 format. | |
| OwnerId | String | False |
User.Id |
ID of the user who owns the attachment. |
| CreatedDate | Datetime | True |
Date and time when the attachment was created. | |
| CreatedById | String | True |
ID of the user who created the attachment. | |
| LastModifiedDate | Datetime | True |
Date and time when the attachment was last modified. | |
| LastModifiedById | String | True |
ID of the user who last modified the attachment. | |
| SystemModstamp | Datetime | True |
Timestamp of the last system-level update to the attachment record. | |
| Description | String | False |
Optional text description providing additional details about the attachment. |