Partager via


activitymimeattachment EntityType

MIME attachment for an activity.

Entity set path:
[organization URI]/api/data/v9.2/activitymimeattachments
Base type:
crmbaseentity
Display name:
Attachment
Primary key:
activitymimeattachmentid
Primary key attribute:
filename
Operations supported:
POST GET PATCH DELETE

Properties

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

Name Type Details
activitymimeattachmentid Edm.Guid

Unique identifier of the attachment.

Display name: Activity Mime Attachment

activitymimeattachmentidunique Edm.Guid

For internal use only.

activitysubject Edm.String

Descriptive subject for the activity.

Display name: ActivitySubject

Read only
anonymouslink Edm.String

anonymous link

Display name: For internal use only.

Read only
attachmentcontentid Edm.String

For internal use only

Display name: Content Id

attachmentnumber Edm.Int32

Number of the attachment.

Display name: Attachment Number

body Edm.String

Contents of the attachment.

Display name: Body

body_binary Edm.Binary

Contents of the attachment.

componentstate Edm.Int32

For internal use only.

Display name: Component State

Read only
Default options
Values Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished
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
isfollowed Edm.Boolean

Indicates if this attachment is followed.

Display name: Followed

Read only
Default options
Values Label
1 Yes
0 No
ismanaged Edm.Boolean

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

Display name: Is Managed

Read only
Default options
Values Label
1 Managed
0 Unmanaged
mimetype Edm.String

MIME type of the attachment.

Display name: Mime Type

objecttypecode Edm.String

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

Display name: Entity

overwritetime Edm.DateTimeOffset

For internal use only.

Display name: Record Overwrite Time

Read only
solutionid Edm.Guid

Unique identifier of the associated solution.

Display name: Solution

Read only
subject Edm.String

Descriptive subject for the attachment.

Display name: Subject

versionnumber Edm.Int64

Version number of the activity mime attachment.

Display name: Version Number

Read only

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 Lookup property data.

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

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 attachment_activity_mime_attachments
objectid_activitypointer activitypointer activity_pointer_activity_mime_attachment
objectid_appointment appointment appointment_activity_mime_attachment
objectid_email email email_activity_mime_attachment
objectid_template template 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 regardingobjectid_activitymimeattachment
ActivityMimeAttachment_BulkDeleteFailures bulkdeletefailure regardingobjectid_activitymimeattachment
ActivityMimeAttachment_SyncErrors syncerror regardingobjectid_activitymimeattachment_syncerror

See also