Reputation: 627
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 since been renamed.
More complex filtering calls are completely confused when filtering by parentNotebook/name
Date: Mon, 20 Nov 2017 16:11:00 GMT
X-CorrelationId: 3af6f882-c15c-4871-928f-d04c9bfabca7
id: 1-e1ab8fa1-b2cd-433a-a346-5a1a0c775264
name: "Template2-WE"
links:oneNoteWebUrl:href:https://*************/Documents/Notebooks/TemplatePages-WE
Upvotes: 0
Views: 138
Reputation: 2857
This might be related to a known limitation of OneNote. If you rename a OneNote notebook in the OneNote Client, the rename is only effective in the clients - if you open OneDrive/SharePoint and look at your notebook, you will see (Notebooks are folders) the folder still has the old name. The API only sees the folder name, which in this case is the "old" incorrect name.
If you follow these instructions and rename your notebook in the online portal, the API should see these changes.
Upvotes: 1