GET api/chatlist/{sessionID}/{corrType}

Get recent messages from user conversations (truncated to 200 characters)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

ID сессии (получается при логине)

string

Required

corrType

Тип корреспондента ("support", "admin", "user", "buyer", "visitor", "anonym")

string

Required

Body Parameters

None.

Response Information

Resource Description

ChatListResponse
NameDescriptionTypeAdditional information
retval

Return code (0 - ok, otherwise - error)

integer

None.

desc

Text description of return code (error description)

string

None.

chats

List of last messages from user's chats

Collection of Chat

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.