REST Api for O365 EO Recoverable items folder

邮差的信 提交于 2019-12-11 01:55:33

问题


I want to fetch events from Recoverable items folder inside Deleted Items.

Do we have support with rest API to access these mails/calendars/contacts inside recoverable folder?

I couldn't find any article about it nor it is listed in outlook mail rest API reference.

Any help is appreciated


回答1:


You can use the WellKnownFolder enumerations for the RecoverableItems folders so make a request like this to list all the folders

https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders/recoverableitemsroot/childfolders/?$Top=1000 

or for items in the folders

GET https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders/recoverableitemsdeletions/messages


来源:https://stackoverflow.com/questions/52424767/rest-api-for-o365-eo-recoverable-items-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!