GET api/Chat/GetUnreadMessage?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultOfListOfChatMessage
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

Collection of ChatMessage

None.

DueTime

decimal number

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'RTMDesktop.Data.UserInfo'. Path 'Data[0].Session.Users[0].Friends'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'RTMDesktop.Data.UserInfo'. Path 'Data[0].Session.Users[0].Friends'.