0
votes

My appplication periodically sync data with Onenote. If some content is deleted after syncing for the first how I can get list of names of pages/sections/notebooks that are deleted. Currently I am comparing id's of pages/sections/notebooks that are present in my system and one the which I receive from onenote syncing everytime. But this process takes too long and specially if I have large data.

Is there any MS-Graph/OneNote API which can provide me list(id's) of these deleted entities ?

1

1 Answers

1
votes

There's no API to retrieve the list of deleted entities, unfortunately. The best way you can achieve this today with the API is to set up webhook integration, keep state on your side and the querying when you receive a webhook notification saying something changed - it looks like you're doing something similar.

If you believe the API should have this functionality, I encourage you to create and upvote an item in uservoice: https://onenote.uservoice.com/forums/245490-onenote-developer-apis