Purva
Purva

Reputation: 37

Access onenote content

My use case is to integrate onenote in our application. I am using document mentioned at https://msdn.microsoft.com/en-us/office/office365/howto/onenote-copy.

To get notebooks some url's are mentioned like -

Construct the request URI

To construct the request URI, start with the service root URL for your platform:

Notebooks on OneDrive for Business /me/notes/ /users/{id}/notes/

SharePoint site notebooks /myOrganization/siteCollections/{id}/sites/{id}/notes/

Unified group notebooks /myOrganization/groups/{id}/notes/

Out of which I am able to successfully access https://www.onenote.com/api/v1.0/me/notes/.

What about id's in other api's. From where I can get groupId or userId of user who has shared content. Can anyone share link for documentation which mention details about all these things.

Any leads would be appreciated.

Upvotes: 0

Views: 282

Answers (1)

Manjusha
Manjusha

Reputation: 538

For retrieving shared OneNote content, you can use the GetRecentNotebooks API (https://blogs.msdn.microsoft.com/onenotedev/2017/04/21/get-recent-notebooks-api/) or /me/notes/notebooks?includesharednotebooks=true

Upvotes: 0

Related Questions