activitymimeattachment EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Description: MIME attachment for an activity.

Entity Set path:[organization URI]/api/data/v8.2/activitymimeattachments

Base Type: crmbaseentity EntityType

Display Name: Attachment

Primary Key: activitymimeattachmentid

Primary Name Attribute: filename

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name

Type

Details

activitymimeattachmentid

Edm.Guid

Description: Unique identifier of the attachment.

Display Name: Activity Mime Attachment

activitymimeattachmentidunique

Edm.Guid

Description: For internal use only.

activitysubject

Edm.String

Description: Descriptive subject for the activity.

Read-only property

anonymouslink

Edm.String

Description: anonymous link

Display Name: For internal use only.

Read-only property

attachmentcontentid

Edm.String

Description: For internal use only

Display Name: Content Id

attachmentnumber

Edm.Int32

Description: Number of the attachment.

Display Name: Attachment Number

body

Edm.String

Description: Contents of the attachment.

Display Name: Body

body_binary

Edm.Binary

Description: Contents of the attachment.

componentstate

Edm.Int32

Description: For internal use only.

Default Options:

0 : Published
1 : Unpublished
2 : Deleted
3 : Deleted Unpublished

Display Name: Component State

Read-only property

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

isfollowed

Edm.Boolean

Description: Indicates if this attachment is followed.

Default Options:

1 : Yes
0 : No

Display Name: Followed

Read-only property

ismanaged

Edm.Boolean

Description: Indicates whether the solution component is part of a managed solution.

Default Options:

1 : Managed
0 : Unmanaged

Display Name: Is Managed

Read-only property

mimetype

Edm.String

Description: MIME type of the attachment.

Display Name: Mime Type

objecttypecode

Edm.String

Description: Object Type Code of the entity that is associated with the attachment.

Display Name: Entity

overwritetime

Edm.DateTimeOffset

Description: For internal use only.

Display Name: Record Overwrite Time

Read-only property

solutionid

Edm.Guid

Description: Unique identifier of the associated solution.

Display Name: Solution

Read-only property

subject

Edm.String

Description: Descriptive subject for the attachment.

Display Name: Subject

versionnumber

Edm.Int64

Description: Version number of the activity mime attachment.

Display Name: Version Number

Read-only property

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties

Name

Single-valued navigation property

Description

_attachmentid_value

attachmentid

Unique identifier of the attachment with which this activitymimeattachment is associated.

_objectid_value

objectid_activitypointer

objectid_template

Unique identifier of the record with which the attachment is associated

_ownerid_value

Unique identifier of the user or team who owns the activity_mime_attachment.

_owningbusinessunit_value

Unique identifier of the business unit that owns the activity mime attachment.

_owninguser_value

Unique identifier of the user who owns the activity mime attachment.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name

Type

Partner

attachmentid

attachment EntityType

attachment_activity_mime_attachments

objectid_activitypointer

activitypointer EntityType

activity_pointer_activity_mime_attachment

objectid_appointment

appointment EntityType

appointment_activity_mime_attachment

objectid_email

email EntityType

email_activity_mime_attachment

objectid_template

template EntityType

template_activity_mime_attachments

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

ActivityMimeAttachment_AsyncOperations

asyncoperation EntityType

regardingobjectid_activitymimeattachment

ActivityMimeAttachment_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_activitymimeattachment

ActivityMimeAttachment_SyncErrors

syncerror EntityType

regardingobjectid_activitymimeattachment_syncerror

See Also

Use the Microsoft Dynamics 365 Web API
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright