Outlook邮件搜索Api

Outlook邮件搜索Api,api,email,search,outlook,Api,Email,Search,Outlook,我将使用outlook邮件搜索api,正如我在文档中读到的那样 Outlook Rest邮件API文档 使用$search参数进行简单查询: url: https://outlook.office.com/api/beta/me/MailFolders/INBOX/messages?$select=Sender,Subject,From,CcRecipients,HasAttachments,Id,SentDateTime,ToRecipients,BccRecipients&$top

我将使用outlook邮件搜索api,正如我在文档中读到的那样

Outlook Rest邮件API文档

使用$search参数进行简单查询:

url: https://outlook.office.com/api/beta/me/MailFolders/INBOX/messages?$select=Sender,Subject,From,CcRecipients,HasAttachments,Id,SentDateTime,ToRecipients,BccRecipients&$top=10&$skip=0&$search=sample email
搜索条件为“发件人:”关键字:

他们有$search关键字,但通过使用$search,我得到了错误的请求。据我所知,Outlook API不支持$search

当我想执行文件夹搜索操作时,有人知道如何对邮件执行搜索吗

提前谢谢你

G-reetings

如何使用双引号来包装您的
主题
搜索

像这个

https://outlook.office.com/api/beta/me/MailFolders/INBOX/messages?$select=Sender,Subject,From,CcRecipients,HasAttachments,Id,SentDateTime,ToRecipients,BccRecipients&$top=10&$skip=0&$search="from:invitation"
或者一直使用urlencode

%22from%3Ainvitation%22
%22from%3Ainvitation%22