Skip to content

Latest commit

 

History

History
94 lines (81 loc) · 4.91 KB

File metadata and controls

94 lines (81 loc) · 4.91 KB
titledescriptionauthorms.localizationpriorityms.subservicedoc_typems.date
notebook resource type
A OneNote notebook.
jewan-microsoft
medium
onenote
resourcePageType
06/19/2024

notebook resource type

Namespace: microsoft.graph

A OneNote notebook.

JSON representation

The following JSON representation shows the resource type.

{ "createdBy": {"@odata.type": "microsoft.graph.identitySet"}, "createdDateTime": "String (timestamp)", "id": "string (identifier)", "isDefault": true, "isShared": true, "lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"}, "lastModifiedDateTime": "String (timestamp)", "links": {"@odata.type": "microsoft.graph.notebookLinks"}, "displayName": "string", "sectionGroupsUrl": "string", "sectionsUrl": "string", "self": "string", "userRole": "String" } 

Properties

PropertyTypeDescription
createdByidentitySetIdentity of the user, device, and application which created the item. Read-only.
createdDateTimeDateTimeOffsetThe date and time when the notebook 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.
displayNameStringThe name of the notebook.
idStringThe unique identifier of the notebook. Read-only.
isDefaultBooleanIndicates whether this is the user's default notebook. Read-only.
isSharedBooleanIndicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
lastModifiedByidentitySetIdentity of the user, device, and application which created the item. Read-only.
lastModifiedDateTimeDateTimeOffsetThe date and time when the notebook 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.
linksNotebookLinksLinks for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web.
sectionGroupsUrlStringThe URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
sectionsUrlStringThe URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
selfStringThe endpoint where you can get details about the notebook. Read-only.
userRoleonenoteUserRolePossible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only.

Relationships

RelationshipTypeDescription
sectionGroupsSectionGroup collectionThe section groups in the notebook. Read-only. Nullable.
sectionsOnenoteSection collectionThe sections in the notebook. Read-only. Nullable.

Methods

MethodReturn TypeDescription
Get notebookNotebookRead the properties and relationships of the notebook.
Get recent notebooksrecentNotebook collectionGet a collection of the most recently accessed notebooks for the user.
Get notebook from webNotebookRetrieve the properties and relationships of a notebook object using its URL path.
Create section groupSectionGroupCreate a section group by posting to the sectionGroups collection in the specified notebook.
List section groupsSectionGroup collectionGet a collection of section groups in the specified notebook.
Create sectionOnenoteSectionCreate a section by posting to the sections collection in the specified notebook.
List sectionsOnenoteSection collectionGet a collection of sections in the specified notebook.
Copy notebookNoneCopies a notebook.
close