attachmentInfo resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the attributes of an attachment.

Properties

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.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.attachmentInfo",
  "attachmentType": "String",
  "contentType": "String",
  "name": "String",
  "size": "Int64"
}