Questions tagged [onenote-api]

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

329 questions
22
votes
1 answer

Insomnia REST Client - Set "Content-Type" for multipart/form-data

TL;DR How can I set the Content-Type headers for each individual file/input/text in a multipart/form-data request (in Insomnia)? I'm trying to POST to the OneNote API (HTTP description) using the Insomnia Rest Client. Per the documentation, I need…
Diode Dan
  • 4,801
  • 6
  • 25
  • 34
18
votes
1 answer

OneNote parsing - how to get to the Text Blobs in the document?

I am creating a parser for the .one file extension, which when finished I will add to the Apache Tika project. Here is the APL 2.0 licensed Open Source project I'm creating: https://github.com/nddipiazza/onenote-parser-java I used the specification…
Nicholas DiPiazza
  • 10,029
  • 11
  • 83
  • 152
11
votes
3 answers

Is there anyway to read .one(OneNote files) using Python script?

I am trying to read .one file(OneNote files) and want to write its content into a text file, but didn't find a single way to do it using Python. Please help me with this.
Anshul
  • 113
  • 1
  • 7
11
votes
1 answer

How to Access/Download OneNote notebook with Python?

How do I access a OneNote notebook using Python? Is there a way to export it to a pdf or other file programmatically? The notes are taken by hand, so I unfortunately can't just parse it for text. I've found this article from 2011, but the links are…
Charles Clayton
  • 17,005
  • 11
  • 87
  • 120
8
votes
1 answer

OneNote API is not returning new pages (even via ms graph explorer)

I'm a creator of an app that integrates with OneNote API via Microsoft graph SDKs for Android/iOS. Several of my users reported that the new OneNote notes stopped syncing with the app (hundreds more affected by this). I've been debugging this. And I…
AndroidGecko
  • 14,034
  • 3
  • 35
  • 49
8
votes
2 answers

Onenote API for Local Computer

This is my first post on Stackoverflow - I am looking for guidance about OneNote API. I look forward to develop a solution primarily for "Own Usage" - which Creates, Opens and Closes OneNote Sections on my Local Machine - No cloud etc. is to be…
Sanjiv
  • 93
  • 1
  • 5
5
votes
3 answers

onenote API using python: adding more text to a page

I'm trying to add some new text to a page knowing the page id referencing this https://learn.microsoft.com/en-us/graph/onenote-update-page I just want to add a new text box. It seems like it is just another div to the html. How do you just add a div…
jason
  • 3,811
  • 18
  • 92
  • 147
5
votes
1 answer

Microsoft graph batch calls for OneNote page renames fails with message "Invalid JSON body for request id"

I am doing a graph batch call to rename OneNote page title, I am following these samples provided on the graph website. Following is the example with a single request for simplicity(typically in my scenario there are more than one requests). POST…
Deepak Sharma
  • 1,873
  • 10
  • 23
5
votes
2 answers

Test environment for microsoft graph api and Azure v2.0

I am integrating OneNote application using MS graph endpoints. To authenticate the user I am using azure v2.0 endpoint. Does microsoft graph platform, onenote and azure provides test/sandbox environment the same. Currently I am using endpoints as…
Pooja Dhannawat
  • 263
  • 2
  • 8
4
votes
0 answers

OneNote Graph API doesn't return new pages

I have a question regarding OneNote Graph API. I am using Graph API to fetch a list of notebooks, sections and pages. When I add a new notebook or section (via OneNote app or via OneNote Web) I see these changes immediately when making a new API…
Alexey Zelenkin
  • 701
  • 1
  • 6
  • 13
4
votes
2 answers

create onenote page fails with 404

GET call on section pages is successful but POST call to create fails with { "error": { "code": "20102", "message": "Die angegebene Ressourcen-ID ist nicht vorhanden.", "innerError": { "request-id":…
AbdulKareem
  • 1,199
  • 8
  • 24
4
votes
0 answers

onenote level and order properties for pages

Does the MS-Graph OneNote API support setting level and order properties for pages within a section? It appears that the BETA version allows me to read them, but I need to set them as well
4
votes
1 answer

Keyboard remapping for Onenote 2016 on Windows 7

I used to use Autohotkey to remap keys for the ease of text editing. For example, I remap Alt + i/j/k/l to up/left/down/right. However, autohotkey is not available in my working environment. I'm wondering whether there is a way to use macro or API…
Jason
  • 1,200
  • 1
  • 10
  • 25
4
votes
1 answer

Pass extra parameters in ADAL return URL

I am using ADAL to authenticate a web app registered in Azure. Basically I am following this link Is there any way I can pass additional parameters to CatchCode function. For example, lets say I need to provide CatchCode with ID of the currently…
Garima
  • 401
  • 5
  • 29
3
votes
0 answers

Why does OneNote API pages request return empty page list?

Few days ago our applications (iOS, Android and Windows) stopped getting the list of Pages from Microsoft OneNote via OneNote API request https://www.onenote.com/api/v1.0/me/notes/pages. Request returns HTTP OK and empty content. Source code Windows…
1
2 3
21 22