attachment EntityType
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Description: Attachment for an email activity.
Entity Set path:[organization URI]/api/data/v8.2/attachments
Base Type: crmbaseentity EntityType
Display Name: Attachment
Primary Key: attachmentid
Primary Name Attribute: filename
Collection-valued navigation properties
Operations using the attachment entity type.
The attachment entity type has no lookup properties.
The attachment entity type has no single-valued navigation properties.
Properties represent fields of data stored in the entity. Some properties are read-only.
Name | Type | Details |
|---|---|---|
attachmentid | Edm.Guid | Description: Unique identifier of the attachment. Display Name: Attachment |
body | Edm.String | Description: Contents of the attachment. Display Name: Body |
body_binary | Edm.Binary | Description: Contents of the attachment. |
filename | Edm.String | Description: File name of the attachment. Display Name: File Name |
filesize | Edm.Int32 | Description: File size of the attachment. Display Name: File Size (Bytes) Read-only property |
mimetype | Edm.String | Description: MIME type of the attachment. Display Name: MIME Type |
subject | Edm.String | Description: Subject associated with the attachment. Display Name: Subject |
versionnumber | Edm.Int64 | Description: Version number of the attachment. Display Name: Version Number Read-only property |
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 | attachmentid | |
Attachment_SyncErrors | regardingobjectid_attachment_syncerror |
The following operations use the attachment entity type in a parameter or return type.
Name | How used | Description |
|---|---|---|
Attachments Parameter | Creates an email activity record from an incoming email message. | |
Attachments Parameter | Creates an email activity record from the specified email message |
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright