Questions tagged [onenote-api]

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

329 questions
0
votes
1 answer

What is the limited number of requests for OneNote API

What is the limited number of requests for OneNote API ? Thanks Anil Kumar Nayak
0
votes
1 answer

Taking screenshot of OneNote page with REST API

I'm using GET ~/pages/{id}/content API with headless browser to make snapshot of OneNote page but I just realised this API doesn't give Ink contents. -…
dongseok0
  • 737
  • 2
  • 7
  • 18
0
votes
1 answer

Onenote macro language command

I am looking for a way to either remove whole page using one note macro, or clear content of a specific page. This is for a macro that will create summary page. Right now my macro creates new summary page every time. I would like to keep one page…
Hamster
  • 1
  • 1
0
votes
1 answer

401 error from using bearer token right after completing code flow in onenote

I checked here One Note Api rejects Bearer Token, Error 401. and my scopes are good. For step 2 of code flow my "Scopes" say office.onenote office.onenote_create office.onenote_update_by_app office.onenote_update wl.offline_access when receiving…
jason
  • 3,811
  • 18
  • 92
  • 147
0
votes
1 answer

Python Onenote, getting nothing on request

I'm trying to get the pages from my onenote notebook in onedrive. the URL is ... https://onedrive.live.com/edit.aspx?cid=ab87696357344a7e&page=view&resid=AB87696357344A7E!246&parId=AB87696357344A7E!116&app=OneNote Here is my code: import…
jason
  • 3,811
  • 18
  • 92
  • 147
0
votes
1 answer

Making a page version with the OneOne API

I've got a java program updating a page in a OneNote notebook. I'd would like it to make a "version" of this page before modifying it. Not a mere copy, but a version that OneNote recognize. Is there anyone knowing how to do this with OneNote Rest…
lvr123
  • 524
  • 6
  • 24
0
votes
2 answers

How does OneNote differ between "View Notebooks" and "View Notebooks in Your Org"?

I'm creating an application to work with OneNote in Office 365 and so I'm creating an app registration in Azure. I want to be able to view notebooks, and there are two permission options: View notebooks and View notebooks in your organization. …
Steve Peschka
  • 1,015
  • 11
  • 25
0
votes
1 answer

OneNote InkStroke/FloatingInk API

There is an API for getting ink stroke objects in OneNote. Per the examples/documentation you can run code that gets the InkStroke object. My understanding is that Highlighter strokes are FloatingInk in the OneNote object model. Is it possible to…
Diode Dan
  • 4,801
  • 6
  • 25
  • 34
0
votes
1 answer

OneNote REST API way too slow from a few day ago

I'm developing OneNote add-in which is using OneNote REST API. It was slightly slow like taking 4-5 secs for an API call but it's way too slow like taking about 1 min for an call from yesterday. Is it available to check something wrong with…
dongseok0
  • 737
  • 2
  • 7
  • 18
0
votes
1 answer

Conflict of timezone for default note and other notes in onenote notebook

Default timezone for notes created in onenote is UTC but when I create new notebook in onenote and fetch default note using onenote api, we see GMT timezone for that note.
keshav
  • 734
  • 6
  • 19
0
votes
1 answer

Batch operations with access permissions on /classNotebooks and children endpoints

I need to perform complex batch operations with permission entities, for example, next business logic is required for my application to do: 1) Split a list of students onto a set of random lists with same size 2) Create a section group for each…
0
votes
1 answer

Update request for page in section duplicates that page

sample page update request in python - headers: {'content-type': 'multipart/form-data; boundary=NoteBoundary','Authorization': 'Bearer '+token} data: --NoteBoundary Content-Disposition: form-data; name="Commands" Content-Type:…
keshav
  • 734
  • 6
  • 19
0
votes
1 answer

Lack of timestamps in some entities in OneNote

I am currently working on a mobile application that uses the OneNote REST API that sometimes have really enormous ping, so the cache implementation is one of the most important aspects with impact on my application's performance. But, for the…
0
votes
1 answer

Get the total count of section groups inside class notebook

Whereas $count allows to get the entities count inside the response body, sometimes there is no need to get the entities, but the amount. According to the official docs there is no way for doing so, maybe some workarounds ?
0
votes
1 answer

Integrate onenote with MVC application

I want integrate onenote desktop app with mvc application and i want to manage all the operation like add a new page and update existing page content and delete a page all with mvc application only. Is there any why to do this. Now i have…
Balu
  • 1