office365 restapi - Outlook REST API: How to page through $search results, when searching for messages -
i have troubles paging through message search results rest api. have request looking this:
outlook.office.com/api/v2.0/me/messages/?$search="deni"
the request returns proper result , includes 'next page' looking this:
"@odata.nextlink": "https://outlook.office.com/api/v2.0/me/messages/?%24search=%22deni%22&%24top=10&%24skiptoken=at01njmzywq3os02mmjjltq5zdetodg4zc0zytgwndlhoty3nzkmcz0xma%3d%3d"
i guess link url encoded url decode this:
outlook.office.com/api/v2.0/me/messages/?$search="deni"&$top=10&$skiptoken=at01njmzywq3os02mmjjltq5zdetodg4zc0zytgwndlhoty3nzkmcz0xma==
however, when try make request next link i'm getting 405 method not allowed following error:
"the odata request not supported."
i've tried in sandbox (oauthplay.azurewebsites.net) - same result. doing wrong. right way page through search results?
i know there limit of 250 messages searched, not case here. have 10 , trying read next 10. of course have tried paging $skip , $top parameters, $kip not supported $search. can't seem find definitive answer in documentation on how page through search results , possible @ all.
thanks willing help.
Comments
Post a Comment