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:
{
  "60142270-7a21-440c-a0b3-ddf6114f8053": 2,
  "cb31c841-5533-465b-9475-d23047b5e753": 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>60142270-7a21-440c-a0b3-ddf6114f8053</Key>
    <Value>2</Value>
  </KeyValueOfguidint>
  <KeyValueOfguidint>
    <Key>cb31c841-5533-465b-9475-d23047b5e753</Key>
    <Value>4</Value>
  </KeyValueOfguidint>
</ArrayOfKeyValueOfguidint>