Notes.ReadWrite
Allows the app to read, share, and modify OneNote notebooks on behalf of the signed-in user.
Graph Methods
Type: A = Application Permission, D = Delegate Permission
Delegate Permission
|
|
Id |
615e26af-c38a-4150-ae3e-c3b0d4cb1d6a |
Consent Type |
User |
Display String |
Read and write user OneNote notebooks |
Description |
Allows the app to read, share, and modify OneNote notebooks on behalf of the signed-in user. |
Resources
Property |
Type |
Description |
createdBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
createdDateTime |
DateTimeOffset |
The 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. |
displayName |
String |
The name of the notebook. |
id |
String |
The unique identifier of the notebook. Read-only. |
isDefault |
Boolean |
Indicates whether this is the user's default notebook. Read-only. |
isShared |
Boolean |
Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. |
lastModifiedBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
lastModifiedDateTime |
DateTimeOffset |
The 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. |
links |
NotebookLinks |
Links 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. |
sectionGroupsUrl |
String |
The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. |
sectionsUrl |
String |
The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. |
self |
String |
The endpoint where you can get details about the notebook. Read-only. |
userRole |
onenoteUserRole |
Possible 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. |
Property |
Type |
Description |
createdDateTime |
DateTimeOffset |
The start time of the operation. |
error |
onenoteOperationError |
The error returned by the operation. |
id |
string |
The operation id. Read-only. |
lastActionDateTime |
DateTimeOffset |
The time of the last action of the operation. |
percentComplete |
string |
The operation percent complete if the operation is still in running status. |
resourceId |
string |
The resource id. |
resourceLocation |
string |
The resource URI for the object. For example, the resource URI for a copied page or section. |
status |
operationStatus |
The current status of the operation: NotStarted , Running , Completed , Failed . |
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. |
Property |
Type |
Description |
content |
Edm.Stream |
|
contentUrl |
String |
|
Property |
Type |
Description |
createdBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
createdDateTime |
DateTimeOffset |
The date and time when the section 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 section. Read-only. |
isDefault |
Boolean |
Indicates whether this is the user's default section. Read-only. |
lastModifiedBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
lastModifiedDateTime |
DateTimeOffset |
The date and time when the section 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. |
links |
sectionLinks |
Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. |
displayName |
String |
The name of the section. |
pagesUrl |
String |
The pages endpoint where you can get details for all the pages in the section. Read-only. |
self |
String |
The endpoint where you can get details about the section. Read-only. |
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. |
Property |
Type |
Description |
action |
onenotePatchActionType |
The action to perform on the target element. The possible values are: replace , append , delete , insert , or prepend . |
content |
String |
A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a "Commands" part. |
position |
onenotePatchInsertPosition |
The location to add the supplied content, relative to the target element. The possible values are: after (default) or before . |
target |
String |
The element to update. Must be the #<data-id> or the generated <id> of the element, or the body or title keyword. |
Property |
Type |
Description |
displayName |
String |
The name of the notebook. |
lastAccessedTime |
DateTimeOffset |
The 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. |
links |
recentNotebookLinks |
Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. |
sourceService |
onenoteSourceService |
The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive . |
Property |
Type |
Description |
content |
Stream |
The content stream |
contentUrl |
String (url) |
The URL for downloading the content |
Property |
Type |
Description |
createdBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
createdDateTime |
DateTimeOffset |
The date and time when the section 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. |
displayName |
String |
The name of the section. |
id |
String |
The unique identifier of the section. Read-only. |
isDefault |
Boolean |
Indicates whether this is the user's default section. Read-only. |
lastModifiedBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
lastModifiedDateTime |
DateTimeOffset |
The date and time when the section 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. |
links |
SectionLinks |
Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. |
pagesUrl |
String |
The pages endpoint where you can get details for all the pages in the section. Read-only. |
self |
String |
The endpoint where you can get details about the section. Read-only. |
Property |
Type |
Description |
createdBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
createdDateTime |
DateTimeOffset |
The date and time when the section group 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. |
displayName |
String |
The name of the section group. |
id |
String |
The unique identifier of the section group. Read-only. |
lastModifiedBy |
identitySet |
Identity of the user, device, and application which created the item. Read-only. |
lastModifiedDateTime |
DateTimeOffset |
The date and time when the section group 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. |
sectionGroupsUrl |
String |
The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only. |
sectionsUrl |
String |
The URL for the sections navigation property, which returns all the sections in the section group. Read-only. |
self |
String |
The endpoint where you can get details about the section group. Read-only. |