Retrieve URL (ItemID or Weblink) to specific outlook.com email

Anonymous
2018-08-23T09:21:19+00:00

Dear All,

I would like to be able to retrieve URLs to specific outlook 365 emails, and then use them in my notes for quick access to original emails for reference.

I know that it is possible, e.g. through: 

https://outlook.office365.com/api/beta/Me/Messages?$select=WebLink

When accessed the above link, it provides a list of information, amongst which are URLs to emails in my inbox, e.g.:

"WebLink":"https://outlook.office365.com/owa/?ItemID=<...>?%3D&exvsurl=1&viewmodel=ReadMessageItem"}

<...> represents ItemID that I removed from the link. If I paste the full link into my browser, it opens the email message. Bravo - that's what I need!

It ItemID is the variable element in the email-unique URL. But the problem is that retrieving the link through the *https://outlook.office365.com/api/beta/Me/Messages?$select=WebLink*is completely messy and impossible to do with reasonable efficiency.

So my question: is there a better way to retrieve ItemID or the full weblink for an email message in outlook 365? Please, there must be...

Any and all help would be appreciated.

Best Regards,

Ignas

Outlook | Windows | Classic Outlook for Windows | For home

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2018-08-23T15:16:27+00:00

Hi Ignas,

Based on the description I understand that you are using Office 365 REST API therefore, I’d like to involve our MSDN Office 365 for Developers Support team in finding the solution for you. Please post your question in this forum and our experts’ will focus on the requirement to get it resolved more efficiently. 

Your time and understanding will be highly appreciated.

Best regards,

Shyamal

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful