The OneNote API is used to interact with Microsoft OneNote programmatically.
Questions tagged [onenote-api]
329 questions
0
votes
1 answer
OneNote Json object missing
I am getting the "ID" object but not the "Name" object when I use the GetAllSections call using the MS Graph OneNote API.
My ApiBaseResponse class and GenericEntityResponse class are standard from MS docs with no changes.
Below is my code:
…

Trey Balut
- 1,355
- 3
- 19
- 39
0
votes
0 answers
OneNote - Sorry it looks like this page was added from another computer and hasn't synced yet
I am trying to create OneNote items using Microsoft Graph.
/v1.0/users/{email}/onenote/pages?sectionName=MyNotes
Sometimes when I create a which has large amount of HTML content, it gives me an error:
Sorry it looks like this page was added from…

user5501201
- 245
- 3
- 10
0
votes
1 answer
Can I get/put OneNote RAW page data?
I'm trying to backup/restore the OneNote contents on a business site.
Currently the API returns the HTML translated content of a Page, but some extensions or Ink data is missing.
Well, I did see Beta status API for Ink data. But why don't just get…

Locke
- 315
- 1
- 3
- 14
0
votes
2 answers
Register application for consuming MS Graph Onenote API in production environment
I am integrating Onenote with my application. I am using MS Graph API's for getting data from Onenote. To consume the api's I am generating the token as mentioned at link get auth tokens.
I am registering my application at MS application…

Pooja Dhannawat
- 263
- 2
- 8
0
votes
1 answer
OneNote API returns incorrect data
Since yesterday the OneNote API has displayed unusual behavior, simple calls are returning the incorrect notebook name or displayname.
For example, calls to https://www.onenote.com/api/beta/me/notes/notebooks returns an old notebook name that has…

codeye
- 607
- 3
- 10
0
votes
1 answer
OneNote API Create Notebook
I'm getting a "Bad Request" when I try to create a new OneNote API Notebook.
private async Task CreateSimpleNotebook(string notebookName, string apiRoute)
{
var client = new HttpClient();
…

Trey Balut
- 1,355
- 3
- 19
- 39
0
votes
1 answer
Access Microsoft Onenote book/section/page with Matlab
I would like to read-out my locally stored Onenote book/section/page with Matlab and automatically search for specified strings. How can this be achieved? Does the Onenote API have to be interfaced or is there any easier way?
Here is what I have so…

user2305193
- 2,079
- 18
- 39
0
votes
1 answer
OneNote Api - notebooks endpoint returns 403 for account owner
The API is returning a 403 (Forbidden) error when making a call from our iOS app with a work/business account to https://www.onenote.com/api/v1.0/me/notes/notebooks
The account being used is the administrator, the access token was properly…

CPM
- 3
- 2
0
votes
1 answer
OneNote API Get Notebooks issue
The following is a sample schema from the OneNote API documentation at this site and will can be used with json2csharp.com with no problems.
http://dev.onenote.com/docs#/reference/get-notebooks.
{
"createdBy": "user name",
"createdTime":…

Trey Balut
- 1,355
- 3
- 19
- 39
0
votes
1 answer
How to configure Azure App Service Authentication for Microsoft Accounts to use arbitrary scopes (like office.onenote_update)
Azure App Service Authentication works great when requesting scopes that exist in the UI (e.g. office.onenote_create). However, I need scopes (e.g. office.onenote_update) that aren't listed in the UI. How can I add those scopes?

Igor Dvorkin
- 827
- 1
- 8
- 18
0
votes
1 answer
Deserialize OneNote Notebooks API Response
I'm getting an empty object when I try to Deserialize a OneNote GetAllNotebooks query.
string[] tempCapture = null;
var url = new Uri("https://graph.microsoft.com/v1.0/me/onenote/notebooks");
var client = new…

Trey Balut
- 1,355
- 3
- 19
- 39
0
votes
1 answer
How can a copied note be identified via the API as a newly created note?
For the purposes of syncing notes in OneNote with those previously downloaded to the browser's IndexedDb, we do a check (via the API) of each note's createdTime and lastModifiedTime against our own server-stored last_updated_time.
This check works…

Velojet
- 878
- 11
- 18
0
votes
1 answer
How to patch a page using the new OneNote Ink Beta Apis
As per this page https://blogs.msdn.microsoft.com/onenotedev/2017/07/07/onenote-ink-beta-apis/
It is possible to get ink from a OneNote page and to create a page with ink.
How does one go about patching the body of a page to add ink?
I have tried…

codeye
- 607
- 3
- 10
0
votes
2 answers
Access publicly shared notebook via API
I have a mobile app that I would like to use OneNote as the 'back end' for, serving up html from pages of a publicly shared notebook. Scouring the OneNote API, I can't find any methods to access a notebook that has been shared publicly without…

regretoverflow
- 2,093
- 1
- 23
- 45
0
votes
1 answer
getting onenote api for page versions
i am looking for an api interface from Onenote to track my work. So lets say i have a shared pages with my friends A and B. Three of us are able to make modification and edition.
One day A made one new page and 10 minutes later B came and modified…

Student Jack
- 1,025
- 2
- 14
- 19