Redigera

Dela via


webPart 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 a specific web part instance on a SharePoint page.

This is an abstract type.

Inherits from entity.

Methods

Method Return type Description
List webPart collection Get a list of the webPart objects and their properties.
Get webPart Read the properties and relationships of a webPart object.
Delete webPart Deletes a webPart object.
Create webPart Create a new webPart object.
Update webPart Update the properties of a webPart object.
Get position webPartPosition Get the webPartPosition information of a WebPart.
Get by position webPart collection Get a list of the webPart objects filtered by webPartPosition information.

Properties

Property Type Description
id String Unique instance identifier of the web part. Inherited from entity.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.webPart",
  "id": "String (identifier)"
}