如何通过 Microsoft Graph API 列出已删除的联系人 [英] How to list the deleted contacts by Microsoft Graph API
问题描述
我想在我的客户端做一个同步操作,所以需要知道如何获取所有已删除的联系人列表.
I want to do a sync action in my client side, so need to know how to get all deleted contact list.
通过 api (GET/me/contacts),我可以获取所有联系人列表但是当用户有大量联系人时,会浪费很多时间.
By the api (GET /me/contacts), I could get all contact list But it wastes much time when the user has large contacts.
这个 api (GET/me/contacts/{id}) 告诉我们联系人是否存在.
对我来说检查每个联系人是否被删除是低效的.
This api (GET /me/contacts/{id}) tell us the contact is exist or not.
it is inefficient to check every contacts are deleted or not for me.
我使用哪些 API?感谢您的帮助.
Which apis do I use? thanks for your help.
推荐答案
为什么不使用 /beta 端点中的nofollow noreferrer">增量查询预览?那应该做你想做的.
Why not use the delta query preview in the /beta
endpoint? That should do what you want.
这篇关于如何通过 Microsoft Graph API 列出已删除的联系人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!