attachment EntityType
Attachment for an email activity.
- Entity set path:
- [organization URI]/api/data/v9.2/attachments
- Base type:
- crmbaseentity
- Display name:
- Attachment
- Primary key:
- attachmentid
- Primary name column:
- filename
Properties
Properties represent fields of data stored in the entity. Some properties are read-only.
| Name | Type | Details |
|---|---|---|
| attachmentid | Edm.Guid |
Unique identifier of the attachment. Display name: Attachment |
| body | Edm.String |
Contents of the attachment. Display name: Body |
| body_binary | Edm.Binary |
Contents of the attachment. |
| filename | Edm.String |
File name of the attachment. Display name: File Name |
| filesize | Edm.Int32 |
File size of the attachment. Display name: File Size (Bytes) Read only
|
| mimetype | Edm.String |
MIME type of the attachment. Display name: MIME Type |
| prefix | Edm.String |
Prefix of the file pointer in blob storage. Display name: Prefix Read only
|
| subject | Edm.String |
Subject associated with the attachment. Display name: Subject |
| versionnumber | Edm.Int64 |
Version number of the attachment. Display name: Version Number Read only
|
Collection-valued navigation properties
Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.
| Name | Type | Partner |
|---|---|---|
| attachment_activity_mime_attachments | activitymimeattachment | attachmentid |
| Attachment_SyncErrors | syncerror | regardingobjectid_attachment_syncerror |