There are three example URLs on this page https://developer.microsoft.com/en-us/graph/docs/concepts/onenote-get-content Only the first one works.
- graph.microsoft.com/v1.0/me/onenote/notes/pages got 400 BadRequest - Resource not found for the segment 'notes'.
- graph.microsoft.com/v1.0/me/onenote/pages?select=title,self got 404 Not Found with error code 20102 and The specified resource ID does not exist.
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/2c568d5b67f2d066a2a85fb4292e8d7efe317b97/docs/overview.md the example line of await graphClient.Me.Onenote.Sections.Request().GetAsync() is also not working. Get 20102 too.
For Full Rest URL
- graph.microsoft.com/v1.0/me/onenote/notebooks works.
- graph.microsoft.com/v1.0/me/onenote/notebooks/{notebook_id} works.
- graph.microsoft.com/v1.0/me/onenote/notebooks/{notebook_id}/sections works.
- But graph.microsoft.com/v1.0/me/onenote/notebooks/{notebook_id}/sections/{section_id} does not work.
section_id is from the section list got from graph api. It will return with 404 Not Found with error below.
{ "error": { "code": "UnknownError", "message": "{\r\n \"Message\": \"No HTTP resource was found that matches the request URI 'https://www.onenote.com/api/V1.0/users({user_id})/notes/notebooks({notebook_id})/sections({section_id})'.\"\r\n}", "innerError": { "request-id": xxxxxx, "date": xxxxxx } } }
Also not working with graph.microsoft.com/v1.0/me/onenote/notebooks/{notebook_id}/sections/{section_id}/pages
How can I read one page from my Onenote? I got NO DOCS or EXAMPLES can help me now.
Where is DOC for Graph SDK?