Skip to content

Latest commit

 

History

History
93 lines (78 loc) · 3.29 KB

File metadata and controls

93 lines (78 loc) · 3.29 KB
title onenotePage resource type
description A page in a OneNote notebook.
ms.localizationpriority medium
doc_type resourcePageType
ms.subservice onenote
author jewan-microsoft
ms.date 05/23/2024

onenotePage resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

A page in a OneNote notebook.

Properties

Property Type Description
content Stream The page's HTML content.
contentUrl String The URL for the page's HTML content. Read-only.
createdByAppId String The unique identifier of the application that created the page. Read-only.
createdDateTime DateTimeOffset The date and time when the page was created. The timestamp 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. Read-only.
id String The unique identifier of the page. Read-only.
lastModifiedDateTime DateTimeOffset The date and time when the page was last modified. The timestamp 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. Read-only.
level Int32 The indentation level of the page. Read-only.
links pageLinks Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only.
order Int32 The order of the page within its parent section. Read-only.
self String The endpoint where you can get details about the page. Read-only.
title String The title of the page.

Relationships

Relationship Type Description
parentNotebook notebook The notebook that contains the page. Read-only.
parentSection onenoteSection The section that contains the page. Read-only.

Methods

Method Return Type Description
Get page onenotePage Read the properties and relationships of the page.
Update page None Update the HTML content of the page.
Delete page None Delete the page.
Copy to section None Copies the page to a specific section.

JSON representation

The following JSON representation shows the resource type.

{
  "content": "stream",
  "contentUrl": "string",
  "createdByAppId": "string",
  "createdDateTime": "String (timestamp)",
  "id": "string (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "level": 1024,
  "links": {"@odata.type": "microsoft.graph.pageLinks"},
  "order": 1024,
  "self": "string",
  "title": "string"
}