BaseItem resource type

Namespace: microsoft.graph

The baseItem resource is an abstract resource that contains a common set of properties shared among several other resources types. Resources that derive from baseItem include:

JSON representation

Here's a JSON representation of a baseItem resource.

{
  "createdBy": { "@odata.type": "microsoft.graph.identitySet" },
  "createdDateTime": "datetime",
  "description": "string",
  "eTag": "string",
  "id": "string (identifier)",
  "lastModifiedBy": { "@odata.type": "microsoft.graph.identitySet" },
  "lastModifiedDateTime": "datetime",
  "name": "string",
  "parentReference": { "@odata.type": "microsoft.graph.itemReference" },
  "webUrl": "url"
}

Properties

Property Type Description
createdBy identitySet Identity of the user, device, or application that created the item. Read-only.
createdDateTime dateTimeOffset Date and time of item creation. Read-only.
description String Provides a user-visible description of the item. Optional.
eTag string ETag for the item. Read-only.
id string The unique identifier of the drive. Read-only.
lastModifiedBy identitySet Identity of the user, device, and application that last modified the item. Read-only.
lastModifiedDateTime dateTimeOffset Date and time the item was last modified. Read-only.
name string The name of the item. Read-write.
parentReference itemReference Parent information, if the item has a parent. Read-write.
webUrl string (url) URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.

Relationships

Relationship Type Description
createdByUser user Identity of the user who created the item. Read-only.
lastModifiedByUser user Identity of the user who last modified the item. Read-only.

Remarks

The baseItem type isn't expected to be used directly.