-3

I like to retrieve unread/mention count using REST API but I do not know how to begin?

Can anyone tell me how should I begin and do I need any credentials when consuming the REST service?

0

You can invoke a REST call from C# Client Application or JavaScript

The REST call you are mentioning relates to Social Feature and more on this is explained in msdn

https://msdn.microsoft.com/en-us/library/office/dn155789.aspx#bk_myUnreadMentionCount

The endpoint is <siteUri>/_api/social.feed/my/UnreadMentionCount

If you are making these REST calls from within SharePoint then you don't need to pass any credentials.

  • Is there a compact overview of which endpoints are available after /_api/ ? – Danny '365CSI' Engelman Jul 24 '16 at 12:03
  • MSDN has all the details.. here is the top documentation section msdn.microsoft.com/en-us/library/office/fp142380.aspx – Amal Hashim Jul 24 '16 at 12:06
  • @AmalHashim I tried with XML.Document opened, however it return me a unauthorize 401 error. I am invoking at C# backend part. any advise? – theStress Jul 24 '16 at 12:32
  • What about view all of them and not just the count? – Si8 May 15 '17 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.