| title | attachmentInfo resource type |
|---|---|
| description | Represents the attributes of an attachment. |
| author | avijityadav |
| ms.localizationpriority | medium |
| ms.subservice | outlook |
| doc_type | resourcePageType |
| ms.date | 04/03/2024 |
Namespace: microsoft.graph
Represents the attributes of an attachment.
| Property | Type | Description |
|---|---|---|
| attachmentType | attachmentType | The type of the attachment. The possible values are: file, item, reference. Required. |
| contentType | String | The nature of the data in the attachment. 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. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.attachmentInfo",
"attachmentType": "String",
"contentType": "String",
"name": "String",
"size": "Int64"
}