Questions tagged [onenote-api]

The OneNote API is used to interact with Microsoft OneNote programmatically.

329 questions
0
votes
0 answers

Unable to update OneNote page content

I send a PATCH request to https://graph.microsoft.com/beta/me/onenote/pages/1-3e7c1460680d4fe28501792ccda64915!119-304d54d6-d499-49f0-b231-cb3a9248e4e9/content with body [ { "action": "replace", "target":…
0
votes
1 answer

OneNote API, Unknown User

I'm looking for a solution to hide (or at least change) the "UU" (Unknown User) in the Microsoft OneNote application, when the page has been feed using the Microsoft Graph API with an application access (The application edits the OneNote on his…
0
votes
1 answer

How can I poll the OneNote API frequently without hitting rate limits?

I have a use case where I need to poll the OneNote API approximately every minute in order to respond to text added to pages by the user. (Aside: I'd LOVE to use webhooks to get notifications only when something changes, but that's only supported…
jgaul
  • 591
  • 2
  • 7
0
votes
1 answer

Create SubPage with OneNote API

Is it possible to create a Subpage using the OneNote API's in O365? More specifically, can the API create a subpage in an existing page? I'm able to create pages and sections. Unfortunately, I can't find documentation on subpages. Documentation to…
DeanB_Develop
  • 2,107
  • 3
  • 23
  • 37
0
votes
1 answer

How set onenote page as read only using onenote API

I am using onenote graph API to create and update notebook,sections,pages. Know i want to make onenote page as read only using Onenote Graph API. Please suggest PATCH or POST Request url to set onenote page as read only
0
votes
0 answers

OneDrive directory listing displays when clicking shared OneNote SectionGroup link

When creating an anonymous sharing link for a notebook section group using the OneNote API, the shared link opens the OneDrive directory listing instead of opening the OneNote web page for the shared section group. The URL returned from the call to…
user7648296
0
votes
2 answers

OneNote API - Export a OneNote notebook page as another file format

I have looked around quite a bit and cannot seem to find any material that confirms or denies the ability to do this. Using the Microsoft Graph or OneNote API, I would like to export a users Notebook and/or Section in one of the formats that the…
0
votes
2 answers

How to Delete and Rename Notebook name Using Onenote Graph API

I want to rename notebook name. i tried below Graph request. PATCH "graph.microsoft.com/v1.0/me/onenote/notebooks{id}" I am getting "UnknownError", What is PATCH Request url to rename notebook?
0
votes
1 answer

Create sharing links on OneNote entities - returns empty link

I'm trying to use the onenote-api end point GET ../api/v1.0/notes/sectionGroups/{sectiongroup-id}/Microsoft.OneNote.Api.GetAnonymousSharingLink(accessLevel=Microsoft.OneNote.Api.SharingLinkAccessLevel’View’) This returns HTTP/1.1 200 Ok { …
codeye
  • 607
  • 3
  • 10
0
votes
1 answer

Posted notebooks not appearing in OneNote Online portal

I'm trying to post notebooks using the Graph API call POST /groups/{id}/onenote/notebooks. Before, these notebooks would appear in the OneNote Online portal as expected. Unfortunately nowadays, they appear instead inside the Notebooks folder of the…
meatpie
  • 11
  • 3
0
votes
1 answer

Finding guid in onenote onetoc2 binary file

According to the documentation provided by Microsoft the header structure of the oncetoc2 must be at the beginning of the file and must have the value {43FF2FA1-EFD9-4C76-9EE2-10EA5722765F} Characters…
Bob R
  • 605
  • 1
  • 13
  • 25
0
votes
1 answer

Not all shared notebooks are returned by API

In our organization there are multiple shared personal notebooks. Because the API still doesn't return shared personal notebooks (as discussed here) we now get the notebooks via this URL…
Chriz
  • 1
0
votes
1 answer

One Note API for office365 Home integration

I have a web application with which I want to integrate One Note. My License is office 365 home. Can I Integrate OneNote API with my PHP application with office 365 home subscription? or do we have to get some higher level subscription?
user1009059
  • 75
  • 1
  • 3
0
votes
0 answers

Created a page with onenote ink beta api, it says "Content not yet available"

[Edited - added the problematic XML] Created a page with Ink API, got the 'OK' return from the server. But if I check form the OneNote site, it says "Content not yet available: Sorry, it looks like this page was added from another computer and…
Locke
  • 315
  • 1
  • 3
  • 14
0
votes
1 answer

Get All Sections in a Notebook

I can get all the sections in a Notebook using the OneNote API using the following https://www.onenote.com/api/v1.0/notebooks/{notebookId}/sections But cannot find a reference to the syntax when using the MSGraph API. I've a number of…
Trey Balut
  • 1,355
  • 3
  • 19
  • 39