Επεξεργασία

Κοινή χρήση μέσω


onenotePage resource type

Namespace: microsoft.graph

A page in a OneNote notebook.

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"
}

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