Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.77 KB

File metadata and controls

64 lines (52 loc) · 1.77 KB
title description ms.localizationpriority author ms.subservice doc_type
attachmentItem resource type
Represents attributes of an item to be attached.
medium
SuryaLashmiS
outlook
resourcePageType

attachmentItem resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Represents attributes of an item to be attached.

Properties

Property Type Description
attachmentType String The type of attachment. Possible values are: file, item, reference. Required.
contentId String The CID or Content-Id of the attachment for referencing in case of in-line attachments using <img src="cid:contentId"> tag in HTML messages. Optional.
contentType String The nature of the data in the attachment. Optional.
isInline Boolean true if the attachment is an inline attachment; otherwise, false. Optional.
name String The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required.
size Int64 The length of the attachment in bytes. Required.

JSON representation

The following JSON representation shows the resource type.

{
  "attachmentType": "String",
  "contentId": "String",
  "contentType": "String",
  "isInline": true,
  "name": "String",
  "size": 1024
}