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:
{
  "9369ae79-89b5-45ac-8d5e-25225774a893": 2,
  "18adbdc5-388f-44e8-bf04-1dd1c0869567": 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>9369ae79-89b5-45ac-8d5e-25225774a893</Key>
    <Value>2</Value>
  </KeyValueOfguidint>
  <KeyValueOfguidint>
    <Key>18adbdc5-388f-44e8-bf04-1dd1c0869567</Key>
    <Value>4</Value>
  </KeyValueOfguidint>
</ArrayOfKeyValueOfguidint>