【问题标题】:Searching for contact via contact email returns every contact for user in Outlook API通过联系人电子邮件搜索联系人会返回 Outlook API 中用户的每个联系人
【发布时间】:2016-02-05 02:20:52
【问题描述】:

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

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

我如何只获得一个联系人?

【问题讨论】:

    标签: rest outlook office365 office365api outlook-restapi


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2013-07-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-05
      • 2014-03-30
      • 1970-01-01
      • 1970-01-01
      • 2013-05-07
      相关资源
      最近更新 更多