attachmentBase 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 an abstract base type for an attachment. You can add related content to a todoTask in the form of an attachment.

Base type of taskFileAttachment.

Inherits from entity.

Properties

Property Type Description
contentType String The MIME type.
id String Unique identifier for the attachment. Read-only. Inherited from entity.
lastModifiedDateTime DateTimeOffset The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
name String The display name of the attachment. This doesn't need to be the actual file name.
size Int32 The length of the attachment in bytes.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.attachmentBase",
  "contentType": "String",  
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "name": "String",
  "size": "Int32"
}