You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Hey Ivan, thanks for reporting this. Without a little more detail it's hard to say what's going wrong for you. Here's an example where we use the API to get the list of notebooks with sections, which will hopefully help you get unblocked:
If you still can't get things working then please let us know and we'll help you track things down.
Edit: Just realized you were talking about getting pages (vs. sections). This is something we haven't fully implemented yet. Matthew has added an issue to track adding support for the remaining APIs.
Activity
leakymemory commentedon Oct 17, 2016
Hey Ivan, thanks for reporting this. Without a little more detail it's hard to say what's going wrong for you. Here's an example where we use the API to get the list of notebooks with sections, which will hopefully help you get unblocked:
https://github.com/OneNoteDev/OneNotePicker-JS/blob/master/src/scripts/oneNotePickerDataSource.ts
If you still can't get things working then please let us know and we'll help you track things down.
Edit: Just realized you were talking about getting pages (vs. sections). This is something we haven't fully implemented yet. Matthew has added an issue to track adding support for the remaining APIs.
mttwc commentedon Oct 17, 2016
Hi Ivan, which method are you calling on OneNoteApi? We haven't implemented GET pages yet (it's a wip).
maslowivan commentedon Oct 27, 2016
Matthew Chiam (@mttwc), Chad Shurtz (@leakymemory) Thank you for answers, I will wait for implementing GET pages then
maslowivan commentedon Oct 27, 2016
I guess the problem is in API, because it works for everywhere excluding pages.
https://www.onenote.com/api/v1.0/me/notes/sections/0-21768C03A2EFB164!2083/pages?orderby=createdTime&select=id,title,createdTime,lastModifiedTime&top=50 this query returns me blank array (0-21768C03A2EFB164!2083 is just my section) but on the dev site (for testing rest api) it returns correct array full of pages. Can you send it to OneNote developers or just test it by yourself?
maslowivan commentedon Aug 20, 2017
Still no solution?
mttwc commentedon Aug 23, 2017
Hi Ivan, can you please do the following:
I'll be happy to dig in for you