SharePointIds 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.

The SharePointIds resource groups the various identifiers for an item stored in a SharePoint site or OneDrive for Business into a single structure.

Note: items returned from OneDrive personal will not include a SharePointIds facet.

JSON representation

The following JSON representation shows the resource type.

{
    "listId": "string",
    "listItemId": "string",
    "listItemUniqueId": "string",
    "siteId": "string",
    "siteUrl": "url",
    "tenantId": "string",
    "webId": "string"
}

Properties

Property Type Description
listId string The unique identifier (guid) for the item's list in SharePoint.
listItemId string An integer identifier for the item within the containing list.
listItemUniqueId string The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.
siteId string The unique identifier (guid) for the item's site collection (SPSite).
siteUrl string (url) The SharePoint URL for the site that contains the item.
tenantId string The unique identifier (guid) for the tenancy.
webId string The unique identifier (guid) for the item's site (SPWeb).

Remarks

For more information about the facets on a driveItem, see driveItem.