ruby on rails - Search emails using Office 365 REST API -


i'm using ruby on rails , office 365 rest api messages $search params. request that

https://outlook.office.com/api/v1.0/me/folders/inbox/messages?$search="oundatio‌n" 

this request can not search emails contain "foundatio‌n", can find emails have "oundatio‌n" word. want search emails have words contain "oundatio‌n" "foundatio‌n", "soundatio‌n"... oundatio‌n .... me? thank much!

the outlook v1.0 rest api's search function uses advanced query syntax. such, can search partial string if know beginning of string. if type end or middle part of string, results begin part returned. instance, if "foundation", typing "found" give expected results. typing "ation" not return correct results.

using common wildcard character such * not make difference since wildcards not supported. special characters ignored in general, searching "oundation" or "*oundation" return same results.

you can find further clarification on aqs's search syntax here, , can test queries in outlook oauth sandbox.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -