GET restapi/personal/instantmessages/messagethreads/{instantMessageThreadId}/unread/count/v1

Gets number of unread messages in a specific thread for the current user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
instantMessageThreadId

The id of the thread we want the number of unread messages from

integer

Required

Body Parameters

None.

Response Information

Resource Description

The number of unread messages in the given thread

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>