GET api/v1.0/Messaging/GetUnreadMessageCounts
Returns a key-value pair of ContactKey and Unread Message Count. Includes Inbox Messages, Friend Requests and Community Invitations.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Dictionary of globally unique identifier [key] and integer [value]Response Formats
application/json, text/json
Sample:
{ "97dde496-e843-4112-92f7-c9f953531fd5": 2, "d9eb00cf-ac64-4803-a71d-65fe23352aba": 4 }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfguidint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfguidint> <Key>97dde496-e843-4112-92f7-c9f953531fd5</Key> <Value>2</Value> </KeyValueOfguidint> <KeyValueOfguidint> <Key>d9eb00cf-ac64-4803-a71d-65fe23352aba</Key> <Value>4</Value> </KeyValueOfguidint> </ArrayOfKeyValueOfguidint>