eventMessage resource type

A message that represents a meeting request, meeting cancel message, meeting accept message, meeting tentatively accept message, or meeting declined message. In particular, eventMessage is derived from message, and, eventMessageRequest is derived from eventMessage and represents a meeting request. The meetingMessageType property idenfies the type of event message.

An eventMessage instance is typically found in the Inbox folder where it arrives as the result of either an event organizer creating a meeting or by an attendee responding to a meeting request. You act on event messages in the same way that you act on Message with minor differences.

JSON representation

Here is a JSON representation of the resource

{
  "bccRecipients": [{"@odata.type": "microsoft.graph.recipient"}],
  "body": {"@odata.type": "microsoft.graph.itemBody"},
  "bodyPreview": "string",
  "categories": ["string"],
  "ccRecipients": [{"@odata.type": "microsoft.graph.recipient"}],
  "changeKey": "string",
  "conversationId": "string",
  "conversationIndex": "binary",
  "createdDateTime": "String (timestamp)",
  "endDateTime": {"@odata.type": "microsoft.graph.datetimetimezone"},
  "flag": {"@odata.type": "microsoft.graph.followupFlag"},
  "from": {"@odata.type": "microsoft.graph.recipient"},
  "hasAttachments": true,
  "id": "string (identifier)",
  "importance": "String",
  "inferenceClassification": "String",
  "internetMessageId": "String",
  "isAllDay": "Boolean",
  "isDeliveryReceiptRequested": true,
  "isDraft": true,
  "isOutOfDate": "Boolean",
  "isRead": true,
  "isReadReceiptRequested": true,
  "lastModifiedDateTime": "String (timestamp)",
  "location": {"@odata.type": "microsoft.graph.location"},
  "meetingMessageType": {"@odata.type": "microsoft.graph.meetingMessageType"},
  "parentFolderId": "string",
  "receivedDateTime": "String (timestamp)",
  "recurrence": {"@odata.type": "microsoft.graph.patternedrecurrence"},
  "replyTo": [{"@odata.type": "microsoft.graph.recipient"}],
  "sender": {"@odata.type": "microsoft.graph.recipient"},
  "sentDateTime": "String (timestamp)",
  "startDateTime": {"@odata.type": "microsoft.graph.datetimetimezone"},
  "subject": "string",
  "toRecipients": [{"@odata.type": "microsoft.graph.recipient"}],
  "type": "string",
  "uniqueBody": {"@odata.type": "microsoft.graph.itemBody"},
  "UnsubscribeData": "string",
  "UnsubscribeEnabled": true,
  "webLink": "string"
}

Properties

Property Type Description
bccRecipients recipient collection The Bcc: recipients for the message.
body itemBody The body of the message.
bodyPreview String The first 255 characters of the message body.
categories String collection The categories associated with the message.
ccRecipients recipient collection The Cc: recipients for the message.
changeKey String The version of the message.
conversationId String The ID of the conversation the email belongs to.
conversationIndex Binary The Index of the conversation the email belongs to.
createdDateTime DateTimeOffset The date and time the message was created.
endDateTime DateTimeTimeZone The end time of the requested meeting.
flag followUpFlag The flag value that indicates the status, start date, due date, or completion date for the message.
from recipient The mailbox owner and sender of the message.
hasAttachments Boolean Indicates whether the message has attachments.
id String
importance String The importance of the message: Low, Normal, High.
inferenceClassification String Possible values are: Focused, Other.
internetMessageId String The message ID in the format specified by RFC2822.
isAllDay Boolean Indicates whether the event lasts the entire day. Adjusting this property requires adjusting the startDateTime and endDateTime properties of the event as well.
isDeliveryReceiptRequested Boolean Indicates whether a read receipt is requested for the message.
isDraft Boolean Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet.
isOutOfDate Boolean Indicates whether this meeting request has been made out-of-date by a more recent request.
isRead Boolean Indicates whether the message has been read.
isReadReceiptRequested Boolean Indicates whether a read receipt is requested for the message.
lastModifiedDateTime DateTimeOffset The date and time the message was last changed.
location Location The location of the requested meeting.
meetingMessageType String The type of event message: None, MeetingRequest, MeetingCancelled, MeetingAccepted, MeetingTenativelyAccepted, MeetingDeclined.
parentFolderId String The unique identifier for the message's parent mailFolder.
receivedDateTime DateTimeOffset The date and time the message was received.
recurrence PatternedRecurrence The recurrence pattern of the requested meeting.
replyTo recipient collection The email addresses to use when replying.
sender recipient The account that is actually used to generate the message.
sentDateTime DateTimeOffset The date and time the message was sent.
startDateTime DateTimeTimeZone The start time of the requested meeting.
subject String The subject of the message.
toRecipients recipient collection The To: recipients for the message.
type String The type of requested meeting: singleInstance, occurence, exception, seriesMaster.
uniqueBody itemBody The part of the body of the message that is unique to the current message.
UnsubscribeData String The valid entries parsed from the List-Unsubscribe header. This is the data for the mail command in the List-Unsubscribe header if UnsubscribeEnabled property is true.
UnsubscribeEnabled Boolean Indicates whether the message is enabled for unsubscribe. Its valueTrue if the list-Unsubscribe header conforms to rfc-2369.
webLink String The URL to open the message in Outlook Web App.

You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.

The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.

This URL can be accessed from within an iFrame.

Relationships

Relationship Type Description
attachments Attachment collection The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the message. Read-only. Nullable.
event Event The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only.
extensions Extension collection The collection of open extensions defined for the eventMessage. Read-only. Nullable.
multiValueExtendedProperties multiValueLegacyExtendedProperty collection The collection of multi-value extended properties defined for the eventMessage. Read-only. Nullable.
singleValueExtendedProperties singleValueLegacyExtendedProperty collection The collection of single-value extended properties defined for the eventMessage. Read-only. Nullable.

Methods

Method Return Type Description
Get eventMessage eventMessage Read properties and relationships of eventMessage object.
Update eventMessage Update eventMessage object.
Delete None Delete eventMessage object.
copy Message Copy a message to a folder.
createForward Message Create a draft of the Forward message. You can then update or send the draft.
createReply Message Create a draft of the Reply message. You can then update or send the draft.
createReplyAll Message Create a draft of the Reply All message. You can then update or send the draft.
forward None Forward a message. The message is then saved in the Sent Items folder.
move Message Move a message to a folder. This creates a new copy of the message in the destination folder.
reply None Reply to the sender of a message. The message is then saved in the Sent Items folder.
replyAll None Reply to all recipients of a message. The message is then saved in the Sent Items folder.
send None Sends a previously created message draft. The message is then saved in the Sent Items folder.
unsubscribe None Send a message using the data and address specified in the first mailto command in the List-Unsubscribe header.
Attachments
List attachments Attachment collection Get all attachments on an eventMessage.
Add attachment Attachment Add a new attachment to an eventMessage by posting to the attachments collection.
Open extensions
Create open extension openTypeExtension Create an open extension and add custom properties in a new or existing instance of a resource.
Get open extension openTypeExtension collection Get an open extension identified by name.
Extended properties
Create single-value extended property eventMessage Create one or more single-value extended properties in a new or existing eventMessage.
Get eventMessage with single-value extended property eventMessage Get eventMessages that contain a single-value extended property by using $expand or $filter.
Create multi-value extended property eventMessage Create one or more multi-value extended properties in a new or existing eventMessage.
Get eventMessage with multi-value extended property eventMessage Get an eventMessage that contains a multi-value extended property by using $expand.