Compartilhar via


email EntityType

Activity that is delivered using email protocols.

Entity set path: 
[organization URI]/api/data/v9.2/emails
Base type: 
activitypointer
Table type: 
Standard
Display name: 
Email
Primary key: 
activityid
Primary name column: 
subject
Operations supported: 
POST GET PATCH DELETE

Properties

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

Name Type Details
activityadditionalparams Edm.String

Additional information provided by the external application as JSON. For internal use only.

Display name: Additional Parameters

Inherited from: activitypointer

activityid Edm.Guid

Unique identifier of the activity.

Display name: Email Message

Inherited from: activitypointer

activitytypecode Edm.String

Type of activity.

Display name: Activity Type

Inherited from: activitypointer

Read only
actualdurationminutes Edm.Int32

Actual duration of the activity in minutes.

Display name: Duration

Inherited from: activitypointer

actualend Edm.DateTimeOffset

Actual end time of the activity.

Display name: Actual End

Inherited from: activitypointer

actualstart Edm.DateTimeOffset

Actual start time of the activity.

Display name: Actual Start

Inherited from: activitypointer

attachmentcount Edm.Int32

Shows the umber of attachments of the email message.

Display name: Attachment Count

Inherited from: activitypointer

Read only
attachmentopencount Edm.Int32

Shows the number of times an email attachment has been viewed.

Display name: Attachment Open Count

Inherited from: activitypointer

baseconversationindexhash Edm.Int32

Hash of base of conversation index.

Display name: Conversation Index (Hash)

Inherited from: activitypointer

category Edm.String

Type a category to identify the email type, such as lead outreach, customer follow-up, or service alert, to tie the email to a business group or function.

Display name: Category

Inherited from: activitypointer

community Edm.Int32

Shows how contact about the social activity originated, such as from Twitter or Facebook. This field is read-only.

Inherited from: activitypointer

compressed Edm.Boolean

Indicates if the body is compressed.

Display name: Compression

Inherited from: activitypointer

Read only
Default options
Values Label
1 Compressed
0 Not compressed
conversationindex Edm.String

Identifier for all the email responses for this conversation.

Display name: Conversation Index

Inherited from: activitypointer

Read only
conversationtrackingid Edm.Guid

Conversation Tracking Id.

Display name: Conversation Tracking Id

Inherited from: activitypointer

correlatedsubjectchanged Edm.Boolean

Indicates if the subject changed compared to the subject of the correlated email

Display name: Correlated subject changed

Inherited from: activitypointer

Default options
Values Label
1 Yes
0 No
correlationmethod Edm.Int32

Shows how an email is correlated to an existing email in Microsoft Dynamics 365. XHeader and CustomCorrelation are not used. For system use only.

Display name: Correlation Method

Inherited from: activitypointer

Read only
Default options
Values Label
0 None
1 Skipped
2 XHeader
3 InReplyTo
4 TrackingToken
5 ConversationIndex
6 SmartMatching
7 CustomCorrelation
createdon Edm.DateTimeOffset

Date and time when the activity was created.

Display name: Created On

Inherited from: activitypointer

Read only
delayedemailsendtime Edm.DateTimeOffset

Enter the expected date and time when email will be sent.

Display name: Send Later

Inherited from: activitypointer

deliveryattempts Edm.Int32

Shows the count of the number of attempts made to send the email. The count is used as an indicator of email routing issues.

Display name: No. of Delivery Attempts

Inherited from: activitypointer

deliverylastattemptedon Edm.DateTimeOffset

Date and time when the delivery of the activity was last attempted.

Inherited from: activitypointer

Read only
deliveryprioritycode Edm.Int32

Priority of delivery of the activity to the email server.

Display name: Delivery Priority

Inherited from: activitypointer

Default options
Values Label
0 Low
1 Normal
2 High
deliveryreceiptrequested Edm.Boolean

Select whether the sender should receive confirmation that the email was delivered.

Display name: Delivery Receipt Requested

Inherited from: activitypointer

Default options
Values Label
1 Yes
0 No
description Edm.String

Description of the activity.

Display name: Description

Inherited from: activitypointer

descriptionblobid Edm.Binary

File that contains description content.

Display name: Description File Id

Inherited from: activitypointer

Read only
descriptionblobid_name Edm.String

Inherited from: activitypointer

Read only
directioncode Edm.Boolean

Select the direction of the email as incoming or outbound.

Display name: Direction

Inherited from: activitypointer

Default options
Values Label
1 Outgoing
0 Incoming
emailreminderexpirytime Edm.DateTimeOffset

Shows the date and time when an email reminder expires.

Display name: Email Reminder Expiry Time

Inherited from: activitypointer

emailreminderstatus Edm.Int32

Shows the status of the email reminder.

Display name: Email Reminder Status

Inherited from: activitypointer

Read only
Default options
Values Label
0 NotSet
1 ReminderSet
2 ReminderExpired
3 ReminderInvalid
emailremindertext Edm.String

For internal use only.

Display name: Email Reminder Text

Inherited from: activitypointer

emailremindertype Edm.Int32

Shows the type of the email reminder.

Display name: Email Reminder Type

Inherited from: activitypointer

Default options
Values Label
0 If I do not receive a reply by
1 If the email is not opened by
2 Remind me anyways at
emailtrackingid Edm.Guid

Email Tracking Id.

Display name: Email Tracking Id

Inherited from: activitypointer

exchangeitemid Edm.String

The message id of activity which is returned from Exchange Server.

Inherited from: activitypointer

exchangerate Edm.Decimal

Exchange rate for the currency associated with the activitypointer with respect to the base currency.

Display name: Exchange Rate

Inherited from: activitypointer

Read only
exchangeweblink Edm.String

Shows the web link of Activity of type email.

Inherited from: activitypointer

followemailuserpreference Edm.Boolean

Select whether the email allows following recipient activities sent from Microsoft Dynamics 365.This is user preference state which can be overridden by system evaluated state.

Display name: Following

Inherited from: activitypointer

Default options
Values Label
1 True
0 False
formattedscheduledend Edm.DateTimeOffset

Formatted scheduled end time of the activity.

Inherited from: activitypointer

Read only
formattedscheduledstart Edm.DateTimeOffset

Formatted scheduled start time of the activity.

Inherited from: activitypointer

Read only
importsequencenumber Edm.Int32

Unique identifier of the data import or data migration that created this record.

Display name: Import Sequence Number

Inherited from: activitypointer

inreplyto Edm.String

Type the ID of the email message that this email activity is a response to.

Display name: In Reply To Message

Inherited from: activitypointer

Read only
instancetypecode Edm.Int32

Type of instance of a recurring series.

Inherited from: activitypointer

Read only
internetmessageheaders Edm.String

Contains a set of internet headers associated to the email message in json format

Display name: Internet message headers

Inherited from: activitypointer

isbilled Edm.Boolean

Information regarding whether the activity was billed as part of resolving a case.

Display name: Is Billed

Inherited from: activitypointer

Default options
Values Label
1 Yes
0 No
isduplicatesenderunresolved Edm.Boolean

Indicates if the sender of the email is unresolved in case of multiple match

Display name: Is Duplicate Sender Unresolved

Inherited from: activitypointer

Default options
Values Label
1 Yes
0 No
isemailfollowed Edm.Boolean

For internal use only. Shows whether this email is followed. This is evaluated state which overrides user selection of follow email.

Display name: Followed

Inherited from: activitypointer

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

For internal use only. Shows whether this email Reminder is Set.

Display name: Reminder Set

Inherited from: activitypointer

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

For internal use only.

Inherited from: activitypointer

isregularactivity Edm.Boolean

Information regarding whether the activity is a regular activity type or event type.

Display name: Is Regular Activity

Inherited from: activitypointer

Read only
Default options
Values Label
1 Yes
0 No
isunsafe Edm.Int32

For internal use only.

Display name: IsUnsafe

Inherited from: activitypointer

Read only
isworkflowcreated Edm.Boolean

Information regarding whether the activity was created from a workflow rule.

Display name: Is Workflow Created

Inherited from: activitypointer

Default options
Values Label
1 Yes
0 No
lastonholdtime Edm.DateTimeOffset

Contains the date and time stamp of the last on hold time.

Display name: Last On Hold Time

Inherited from: activitypointer

lastopenedtime Edm.DateTimeOffset

Shows the latest date and time when email was opened.

Display name: Last Opened Time

Inherited from: activitypointer

leftvoicemail Edm.Boolean

Left the voice mail

Inherited from: activitypointer

linksclickedcount Edm.Int32

Shows the number of times a link in an email has been clicked.

Display name: Links Clicked Count

Inherited from: activitypointer

messageid Edm.String

Unique identifier of the email message. Used only for email that is received.

Display name: Message ID

Inherited from: activitypointer

mimetype Edm.String

MIME type of the email message data.

Display name: Mime Type

Inherited from: activitypointer

modifiedon Edm.DateTimeOffset

Date and time when activity was last modified.

Display name: Modified On

Inherited from: activitypointer

Read only
notifications Edm.Int32

Select the notification code to identify issues with the email recipients or attachments, such as blocked attachments.

Display name: Notifications

Inherited from: activitypointer

Default options
Values Label
0 None
1 The message was saved as a Microsoft Dynamics 365 email record, but not all the attachments could be saved with it. An attachment cannot be saved if it is blocked or if its file type is invalid.
2 Truncated body.
onholdtime Edm.Int32

Shows how long, in minutes, that the record was on hold.

Display name: On Hold Time (Minutes)

Inherited from: activitypointer

Read only
opencount Edm.Int32

Shows the number of times an email has been opened.

Display name: Open Count

Inherited from: activitypointer

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display name: Record Created On

Inherited from: activitypointer

postponeactivityprocessinguntil Edm.DateTimeOffset

For internal use only.

Inherited from: activitypointer

Read only
postponeemailprocessinguntil Edm.DateTimeOffset

For internal use only.

Display name: Delay email processing until

Inherited from: activitypointer

Read only
prioritycode Edm.Int32

Priority of the activity.

Display name: Priority

Inherited from: activitypointer

Default options
Values Label
0 Low
1 Normal
2 High
processid Edm.Guid

Unique identifier of the Process.

Display name: Process

Inherited from: activitypointer

readreceiptrequested Edm.Boolean

Indicates that a read receipt is requested.

Display name: Read Receipt Requested

Inherited from: activitypointer

Default options
Values Label
1 Yes
0 No
reminderactioncardid Edm.Guid

Reminder Action Card Id.

Display name: Reminder Action Card Id.

Inherited from: activitypointer

replycount Edm.Int32

Shows the number of replies received for an email.

Display name: Reply Count

Inherited from: activitypointer

Read only
reservedforinternaluse Edm.String

For internal use only

Display name: Reserved for internal use

Inherited from: activitypointer

safedescription Edm.String

Safe body text of the e-mail.

Display name: Safe Description

Inherited from: activitypointer

Read only
scheduleddurationminutes Edm.Int32

Scheduled duration of the activity, specified in minutes.

Display name: Scheduled Duration

Inherited from: activitypointer

scheduledend Edm.DateTimeOffset

Scheduled end time of the activity.

Display name: Due Date

Inherited from: activitypointer

scheduledstart Edm.DateTimeOffset

Scheduled start time of the activity.

Display name: Start Date

Inherited from: activitypointer

sender Edm.String

Sender of the email.

Display name: From

Inherited from: activitypointer

senton Edm.DateTimeOffset

Date and time when the activity was sent.

Display name: Date Sent

Inherited from: activitypointer

Read only
seriesid Edm.Guid

Uniqueidentifier specifying the id of recurring series of an instance.

Inherited from: activitypointer

Read only
sortdate Edm.DateTimeOffset

Shows the date and time by which the activities are sorted.

Display name: Sort Date

Inherited from: activitypointer

stageid Edm.Guid

Unique identifier of the Stage.

Display name: (Deprecated) Process Stage

Inherited from: activitypointer

statecode Edm.Int32

Status of the activity.

Display name: Activity Status

Inherited from: activitypointer

Default options
Values Label
0 Open
1 Completed
2 Canceled
statuscode Edm.Int32

Reason for the status of the activity.

Display name: Status Reason

Inherited from: activitypointer

Default options
Values Label
1 Draft
2 Completed
3 Sent
4 Received
5 Canceled
6 Pending Send
7 Sending
8 Failed
subcategory Edm.String

Type a subcategory to identify the email type and relate the activity to a specific product, sales region, business group, or other function.

Display name: Sub-Category

Inherited from: activitypointer

subject Edm.String

Subject associated with the activity.

Display name: Subject

Inherited from: activitypointer

submittedby Edm.String

Shows the Microsoft Office Outlook account for the user who submitted the email to Microsoft Dynamics 365.

Display name: Submitted By

Inherited from: activitypointer

timezoneruleversionnumber Edm.Int32

For internal use only.

Display name: Time Zone Rule Version Number

Inherited from: activitypointer

torecipients Edm.String

Shows the email addresses corresponding to the recipients.

Display name: To Recipients

Inherited from: activitypointer

trackingtoken Edm.String

Shows the tracking token assigned to the email to make sure responses are automatically tracked in Microsoft Dynamics 365.

Display name: Tracking Token

Inherited from: activitypointer

traversedpath Edm.String

For internal use only.

Display name: (Deprecated) Traversed Path

Inherited from: activitypointer

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display name: UTC Conversion Time Zone Code

Inherited from: activitypointer

versionnumber Edm.Int64

Version number of the activity.

Display name: Version Number

Inherited from: activitypointer

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
_acceptingentityid_value acceptingentityid

The Entity that Accepted the Email

_createdby_value createdby

Unique identifier of the user who created the activity.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the activitypointer.

_emailsender_value emailsender_account
emailsender_contact
emailsender_queue
emailsender_systemuser

Shows the sender of the email.

_modifiedby_value modifiedby

Unique identifier of user who last modified the activity.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who last modified the activitypointer.

_ownerid_value ownerid

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

_owningbusinessunit_value owningbusinessunit

Unique identifier of the business unit that owns the activity.

_owningteam_value owningteam

Unique identifier of the team that owns the activity.

_owninguser_value owninguser

Unique identifier of the user that owns the activity.

_receivingmailboxid_value ReceivingMailboxId_Email

The Mailbox that Received the Email.

_regardingobjectid_value regardingobjectid_account
regardingobjectid_adx_invitation
regardingobjectid_contact
regardingobjectid_knowledgearticle
regardingobjectid_knowledgebaserecord
regardingobjectid_mspp_adplacement
regardingobjectid_mspp_pollplacement
regardingobjectid_mspp_publishingstatetransitionrule
regardingobjectid_mspp_redirect
regardingobjectid_mspp_shortcut
regardingobjectid_mspp_website
regardingobjectid_new_interactionforemail

Unique identifier of the object with which the activity is associated.

_sendermailboxid_value sendermailboxid

Unique identifier of the mailbox associated with the sender of the email message.

_sendersaccount_value sendersaccount

Shows the parent account of the sender of the email.

_slaid_value sla_activitypointer_sla

Choose the service level agreement (SLA) that you want to apply to the case record.

_slainvokedid_value slainvokedid_activitypointer_sla

Last SLA that was applied to this case. This field is for internal use only.

_templateid_value templateid

For internal use only. ID for template used in email.

_transactioncurrencyid_value transactioncurrencyid

Unique identifier of the currency associated with the activitypointer.

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
acceptingentityid queue email_acceptingentity_queue
activityid_activitypointer activitypointer activity_pointer_email
CorrelatedActivityId_Email email email_email_CorrelatedActivityId
createdby systemuser lk_activitypointer_createdby
createdby_email systemuser lk_email_createdby
createdonbehalfby systemuser lk_activitypointer_createdonbehalfby
createdonbehalfby_email systemuser lk_email_createdonbehalfby
descriptionblobid_email fileattachment FileAttachment_Email_DescriptionBlobId
emailsender_account account Account_Email_EmailSender
emailsender_contact contact Contact_Email_EmailSender
emailsender_queue queue Queue_Email_EmailSender
emailsender_systemuser systemuser SystemUser_Email_EmailSender
modifiedby systemuser lk_activitypointer_modifiedby
modifiedby_email systemuser lk_email_modifiedby
modifiedonbehalfby systemuser lk_activitypointer_modifiedonbehalfby
modifiedonbehalfby_email systemuser lk_email_modifiedonbehalfby
ownerid principal owner_activitypointers
ownerid_email principal owner_emails
owningbusinessunit businessunit business_unit_activitypointer
owningbusinessunit_email businessunit business_unit_email_activities
owningteam team team_activity
owningteam_email team team_email
owninguser systemuser user_activity
owninguser_email systemuser user_email
parentactivityid email email_email_parentactivityid
ReceivingMailboxId_Email mailbox mailbox_email_ReceivingMailboxId
regardingobjectid_account account Account_ActivityPointers
regardingobjectid_account_email account Account_Emails
regardingobjectid_adx_invitation adx_invitation adx_invitation_ActivityPointers
regardingobjectid_adx_invitation_email adx_invitation adx_invitation_Emails
regardingobjectid_asyncoperation asyncoperation AsyncOperation_Emails
regardingobjectid_contact contact Contact_ActivityPointers
regardingobjectid_contact_email contact Contact_Emails
regardingobjectid_knowledgearticle knowledgearticle KnowledgeArticle_ActivityPointers
regardingobjectid_knowledgearticle_email knowledgearticle KnowledgeArticle_Emails
regardingobjectid_knowledgebaserecord knowledgebaserecord KnowledgeBaseRecord_ActivityPointers
regardingobjectid_knowledgebaserecord_email knowledgebaserecord KnowledgeBaseRecord_Emails
regardingobjectid_mspp_adplacement mspp_adplacement mspp_adplacement_ActivityPointers
regardingobjectid_mspp_adplacement_email mspp_adplacement mspp_adplacement_Emails
regardingobjectid_mspp_pollplacement mspp_pollplacement mspp_pollplacement_ActivityPointers
regardingobjectid_mspp_pollplacement_email mspp_pollplacement mspp_pollplacement_Emails
regardingobjectid_mspp_publishingstatetransitionrule mspp_publishingstatetransitionrule mspp_publishingstatetransitionrule_ActivityPointers
regardingobjectid_mspp_publishingstatetransitionrule_email mspp_publishingstatetransitionrule mspp_publishingstatetransitionrule_Emails
regardingobjectid_mspp_redirect mspp_redirect mspp_redirect_ActivityPointers
regardingobjectid_mspp_redirect_email mspp_redirect mspp_redirect_Emails
regardingobjectid_mspp_shortcut mspp_shortcut mspp_shortcut_ActivityPointers
regardingobjectid_mspp_shortcut_email mspp_shortcut mspp_shortcut_Emails
regardingobjectid_mspp_website mspp_website mspp_website_ActivityPointers
regardingobjectid_mspp_website_email mspp_website mspp_website_Emails
regardingobjectid_new_interactionforemail interactionforemail new_interactionforemail_ActivityPointers
sendermailboxid mailbox activitypointer_sendermailboxid_mailbox
sendermailboxid_email mailbox email_sendermailboxid_mailbox
sendersaccount account Account_Email_SendersAccount
sla_activitypointer_sla sla manualsla_activitypointer
sla_email_sla sla manualsla_email
slainvokedid_activitypointer_sla sla sla_activitypointer
slainvokedid_email_sla sla sla_email
stageid_processstage processstage processstage_emails
templateid template Email_EmailTemplate
transactioncurrencyid transactioncurrency TransactionCurrency_ActivityPointer
transactioncurrencyid_email transactioncurrency TransactionCurrency_Email

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
activity_pointer_activity_mime_attachment activitymimeattachment objectid_activitypointer
activity_pointer_adx_inviteredemption adx_inviteredemption activityid_adx_inviteredemption
activity_pointer_adx_portalcomment adx_portalcomment activityid_adx_portalcomment
activity_pointer_appointment appointment activityid_activitypointer
activity_pointer_chat chat activityid_chat
activity_pointer_email email activityid_activitypointer
activity_pointer_fax fax activityid_activitypointer
activity_pointer_letter letter activityid_activitypointer
activity_pointer_phonecall phonecall activityid_activitypointer
activity_pointer_recurrencerule recurrencerule objectid
activity_pointer_recurringappointmentmaster recurringappointmentmaster activityid_activitypointer
activity_pointer_socialactivity socialactivity activityid_activitypointer
activity_pointer_task task activityid_activitypointer
activitypointer_activity_parties activityparty activityid_activitypointer
ActivityPointer_AsyncOperations asyncoperation regardingobjectid_activitypointer
ActivityPointer_BulkDeleteFailures bulkdeletefailure regardingobjectid_activitypointer
activitypointer_connections1 connection record1id_activitypointer
activitypointer_connections2 connection record2id_activitypointer
activitypointer_FileAttachments fileattachment objectid_activitypointer
ActivityPointer_QueueItem queueitem objectid_activitypointer
email_actioncard actioncard regardingobjectid_email_actioncard
email_activity_mime_attachment activitymimeattachment objectid_email
email_activity_parties activityparty activityid_email
Email_Annotation annotation objectid_email
Email_AsyncOperations asyncoperation regardingobjectid_email
Email_BulkDeleteFailures bulkdeletefailure regardingobjectid_email
email_connections1 connection record1id_email
email_connections2 connection record2id_email
Email_DuplicateBaseRecord duplicaterecord baserecordid_email
Email_DuplicateMatchingRecord duplicaterecord duplicaterecordid_email
email_email_CorrelatedActivityId email CorrelatedActivityId_Email
email_email_parentactivityid email parentactivityid
email_FileAttachments fileattachment objectid_email
email_principalobjectattributeaccess principalobjectattributeaccess objectid_email
Email_ProcessSessions processsession regardingobjectid_email
Email_QueueItem queueitem objectid_email
Email_SyncErrors syncerror regardingobjectid_email_syncerror
slakpiinstance_activitypointer slakpiinstance regarding_activitypointer
slakpiinstance_email slakpiinstance regarding_email

Operations

The following operations can be used with the email entity type.

Name Binding
BackgroundSendEmail Not Bound
CheckIncomingEmail Not Bound
CheckPromoteEmail Not Bound
DeliverImmediatePromoteEmail Bound to Entity
DeliverIncomingEmail Bound to Collection
DeliverPromoteEmail Bound to Entity
GetTrackingTokenEmail Not Bound
GrantAccess Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound
SendEmail Bound to Entity
SendFax Not Bound
SendTemplate Not Bound
SendEmailFromTemplate Not Bound

See also