Questions tagged [onenote-api]

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

329 questions
0
votes
1 answer

Moving OneNote in sharepoint using files explorer breaks Get pages

We moved OneNote hosted in SharePoint from one folder to other using file explorer (View in file explorer option). After the OneNote is moved it started looking like a folder instead of OneNote file and we don’t get the notebook which we moved in…
0
votes
1 answer

Any way in OneNote API to extract link to another OneNote page?

If we have a link to another OneNote page in the HTML content:
Velojet
  • 878
  • 11
  • 18
0
votes
1 answer

How to login to Onenote Store app automatically with O365 account?

Let's say I have Access token for accessing OnenoteAPI. Now I want to launch notebook(access token is available) in onenote store client. If I launch for the first time Onenote Store app asks for login. Is it possible to autologin account in…
n1941
  • 41
  • 5
0
votes
1 answer

OneNote API returns HTTP 500 when querying /notes/notebooks

My code calls the OneNote API to retrieve a list of notebooks in an O365 SharePoint site. We get a bearer token, set the HTTP auth header and issue a GET request…
Rob Potter
  • 948
  • 6
  • 28
0
votes
1 answer

OneNote API intermittently returns HTTP 400 when querying O365 SharePoint SiteId

My code calls the OneNote API to resolve a SharePoint Online site URL to a SiteCollectionId and SiteId. We get a bearer token, set the HTTP auth header and issue a GET request…
Rob Potter
  • 948
  • 6
  • 28
0
votes
2 answers

Onenote API failure

I've got the below error when I have tried to get the Site collection and site IDs. What could be the cause? Any help would be really appreciated. var getMessage = new HttpRequestMessage(HttpMethod.Get,…
0
votes
2 answers

OneNote REST API - How to deal with a "502 Bad Gateway" error?

I asked this question on the OneNote Dev Blog, http://blogs.msdn.com/b/onenotedev/archive/2016/01/13/onenote-api-throttling-and-best-practices.aspx - and Jorge suggested asking it again here. I am able to create multiple Notebooks with the REST API…
codeye
  • 607
  • 3
  • 10
0
votes
2 answers

How can I highlight syntax in Microsoft OneNote 2013?

I want to highlight syntax for my programming language of choice (proprietary) in Microsoft OneNote 2013 with a macro or script. I found a free Macro creator for MS OneNote '13 that allows creation of custom macros called "OneTastic". I created a…
Doug Wilhelm
  • 776
  • 9
  • 26
0
votes
1 answer

"The section is read-only" when adding content to OneNote using its API

Currently I am trying to add content to a OneNote 2013 page using the UpdatePageContent function from the OneNote API provided by the Microsoft.Office.Interop.OneNote reference. However, I always obtain the error code 0x80042001, which is described…
ranguwud
  • 285
  • 3
  • 12
0
votes
2 answers

OneNote API & Postman REST

I'm attempting to use the OneNote REST API. In order to test the features, I'm tyring to use Postman REST Client. I am using Postman's built in OAuth 2.0 flow with the following parameters: Authorization URL:…
Diode Dan
  • 4,801
  • 6
  • 25
  • 34
0
votes
1 answer

OneNote COM Interface - Ink Support

Is it possible to get access to the user's ink/highlighting through the COM extension interface for MS OneNote?
Diode Dan
  • 4,801
  • 6
  • 25
  • 34
0
votes
2 answers

OneNote REST API - How can I reorder pages or sections?

I am using the REST API via PHP and iOS to generate multiple notebooks with default sections and pages based on data obtained from a MS SQL server (patient database). Each patient has their own notebook and a days worth of notebooks are generated…
codeye
  • 607
  • 3
  • 10
0
votes
2 answers

What is the validity for new refresh token retrieved through refresh token?

I recently integrated OneNote API in my application. The question is: When I refresh my access token(as one access token lasts for only an hour) a new refresh token is returned from the API. As I read somewhere that a refresh token is good for an…
Amey Khadatkar
  • 414
  • 3
  • 16
0
votes
1 answer

How can I change the name of a Notebook or Section?

Currently it's possible to change a Page's name using the PATCH Page API. Anyone knows how to change the name of a Section or Notebook using the REST API? Thanks.
Bill_BsB
  • 314
  • 3
  • 14
0
votes
2 answers

Office365 API OneNote API included

Months ago I integrated Office365 sign on on my website. (I used office365 account to sign in to my website). Now I want to include Onenote API feature like create page, create section etc. I research that is possible with office365 login you have…
Nerxhan
  • 311
  • 2
  • 10
1 2 3
21
22