通过联系电子邮件搜索联系人将返回Outlook API中用户的每个联系人

时间:2016-02-04 18:05:08

标签: rest outlook office365 office365api outlook-restapi

在网址查询中使用?$search="foo@bar.com"我正在尝试获取与该电子邮件地址匹配的联系人的完整联系信息,而是获取登录用户的每个联系人。以下查询返回登录用户的每个联系人,包括我想要的联系人。

https://outlook.office.com/api/v2.0/me/contacts/?search="ChristopherTEllingson@dayrep.com"

如何获得一个联系人?

1 个答案:

答案 0 :(得分:0)

您的网址中有轻微错字。您在$参数前面缺少search,因此会被忽略。试试这个:

https://outlook.office.com/api/v2.0/me/contacts/?$search="ChristopherTEllingson@dayrep.com"
相关问题