attachment EntityType
Attachment for an email activity.
- Entity Set Path
- [organization URI]/api/data/v9.0/attachments
- Base Type
- crmbaseentity
- Display Name
- Attachment
- Primary Key
- attachmentid
- Primary Key Attribute
- 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 |