Questions tagged [onenote-api]

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

329 questions
0
votes
3 answers

Keep getting 429 (Too Many Requests) throttling errors

I tried to engage with the API team via Twitter but I've not had a response and development is grinding to a halt here... In short I keep getting a 429 when developing against the OneNote API, I know that this suggests I'm hitting the API too hard,…
Darren Beale
  • 753
  • 1
  • 9
  • 24
0
votes
2 answers

Unable to filter notebooks on userRole

I'm trying to get a list of notebooks that I own, my API call is: /me/notes/notebooks?filter=userRole eq 'Owner' (Using the API console, so not replacing spaces here) The response includes 400 (Bad Request) The OData query is invalid. A binary…
Darren Beale
  • 753
  • 1
  • 9
  • 24
0
votes
1 answer

How Do I Get OneNote Pages to Appear After REST API Create?

I am creating pages in OneNote using OneNote's REST API. For the most part, it works well. However, some pages never show up. According to their HTTP response code (201), they all POST correctly, but no matter when or how many times I run the…
Elliptica
  • 3,928
  • 3
  • 37
  • 68
0
votes
1 answer

How to Stop OneNote API From Returning ID for Deleted Pages

I place a call using the OneNote REST API to return a list of all the pages in a section. This works successfully. However, some of the pages it returns should no longer exist! Yet I can see their information, IDs, etc., even though they have…
Elliptica
  • 3,928
  • 3
  • 37
  • 68
0
votes
1 answer

Microsoft Graph

Is onenote class notebook available through the Microsoft Graph API? I'm trying to create a onenote class notebook and then add a list of students to it. I have the documentation for adding a…
0
votes
1 answer

Error 10008 OneNote API

I have a OneNote notebook that is shared in a OneDrive library. When trying to get the sections via the REST API, I get the 10008 error message explaining that I have more than 5000 items and the query cannot be completed. I know that this…
0
votes
1 answer

Missing data-id or id on default tags(checkboxes)

I was trying to update todo tags with patch but the id or data-id is missing from pages created by onenote with default todo tags. How can I Target the element with patch? This is an example page where the data-tag="to-do" has no id to target.
ShopWorks
  • 71
  • 1
  • 7
0
votes
1 answer

OneNote Class Notebook API: Embed Sway, Mix, Youtube and other iframe content via API

We are able to add Youtube, Sway and Office Mix content using the "Online Videos" ribbon command in OneNote 2016 with Class Notebook Add-in which are played in place when a user accesses them. We want to be able to do the same and embed iframes of…
AmitWiki
  • 101
  • 5
0
votes
1 answer

How to access student class notebook via API?

We have a requirement that a teacher can write to students' class notebooks from within our app. I can access the tutor's class notebooks and the students/groups associated with it. However I've been trying to simply query the student's class…
SpecWin
  • 49
  • 6
0
votes
1 answer

Best way to implement undo?

Our app successfully adds content to OneNote and we would like to support an undo feature. I already add a unique data-id to any content that the app adds. Therefore looking at the REST api it looks like I need to do the following: 1) Get the…
SpecWin
  • 49
  • 6
0
votes
2 answers

OneNote API : Set Rule Lines options

Is it possible to set the Rule Lines options, under the View tab using the OneNote api. I've had a look at the page and content end points but can't see anything that suggests itself.
Richard Willis
  • 986
  • 8
  • 15
0
votes
1 answer

OneNote API: "Query operation not accepted" when filtering a pages GET

I'm attempting to get a list of pages by notebook from the OneNote REST API. One option is to iterate over a list of sections and GET pages per section using /api/v1.0/notes/sections/[ID]/pages Instead, to reduce the number of requests I'm…
Darren Beale
  • 753
  • 1
  • 9
  • 24
0
votes
1 answer

How can you access "Shared" personal notebooks via rest API?

I have a shared personal notebook that I would like to access via the rest api. I'm signing in as the user with whom the notebook has been shared (shows as "personal >> xxx.onmicrosoft.com" under the "Shared with me" section of OneNote). Looking…
SpecWin
  • 49
  • 6
0
votes
1 answer

OneNote API fails to get any notes from shared notebook for sharing user

As the developer, I'm able to GET (using PHP via the REST API) all notes from a notebook shared with a client. As you see, a search by me returns all 25 notes within the accessed section: { …
Velojet
  • 878
  • 11
  • 18
0
votes
1 answer

Something failed, the API cannot share any more information at the time of the request

We are receiving below error when we are querying pages under a specific section. What could be the cause? "{\r\n \"error\":{\r\n \"code\":\"19999\",\"message\":\"Something failed, the API cannot share any more information at the time of the…