【发布时间】:2016-04-11 16:39:05
【问题描述】:
我正在尝试从发件人的电子邮件与我的查询字符串匹配的 Office 365 返回电子邮件。我尝试使用包含的 $filter,但这引发了一个错误,说明我必须使用 $search。以下内容有效,但不限制我的搜索范围,即 /Sender/EmailAddress/Name。有什么想法吗?
https://outlook.office365.com/api/v1.0/Me/Messages?$select=Subject,Sender,From&$search="Joe Bloggs"
【问题讨论】:
-
请贴出错误内容。
-
在尝试 $filter 时出错,outlook.office365.com/api/v1.0/Me/… is:{ error: { code: "ErrorInvalidUrlQueryFilter", message: "'contains' 和 'startswith' 不支持过滤。请改用搜索。” } }