Skip to content

Latest commit

 

History

History
65 lines (53 loc) · 1.79 KB

File metadata and controls

65 lines (53 loc) · 1.79 KB
title attachmentItem resource type
description Represents attributes of an item to be attached.
ms.localizationpriority medium
author SuryaLashmiS
ms.subservice outlook
doc_type resourcePageType
ms.date 03/21/2024

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. The 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
}