Microsoft Outlook · Schema

Attachment

Base resource for file, item, and reference attachments. Use the @odata.type property to specify the derived type.

CalendarContactsEmailEnterpriseMicrosoftOffice 365Productivity

Properties

Name Type Description
@odata.type string The OData type of the attachment. Use #microsoft.graph.fileAttachment for file attachments or #microsoft.graph.itemAttachment for item attachments.
id string The unique identifier of the attachment. Read-only.
name string The display name of the attachment.
contentType string The MIME type of the attachment.
size integer The length of the attachment in bytes.
isInline boolean True if the attachment is an inline attachment.
lastModifiedDateTime string The date and time the attachment was last modified in UTC.
contentBytes string The base64-encoded contents of the file. Only applicable for fileAttachment.
contentId string The ID of the attachment in the Exchange store. Only applicable for fileAttachment.
contentLocation string The Uniform Resource Identifier (URI) corresponding to the location of the content of the attachment.
View JSON Schema on GitHub