GET api/getnewchats/{sessionID}/{ID1}/{ID2}/{ID3}/{ID4}

Выдает переписки с ID большими, чем переданные в параметрах

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

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

string

Required

ID1

ID в переписке с гостями (0 - все)

integer

Required

ID2

ID в переписке с покупателями (0 - все)

integer

Required

ID3

ID в переписке с продавцами (0 - все)

integer

Required

ID4

ID в переписке с администрацией (0 - все)

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChatListResponse
NameDescriptionTypeAdditional information
retval

Код возврата (0 - ок, иначе - ошибка)

integer

None.

desc

Текстовая расшифровка кода возврата (описание ошибки)

string

None.

chats

Список последних сообщений из переписок пользователя

Collection of Chat

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: Error getting value from 'DateWriteUtc' on 'DigiAPI.Models.Chat'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'DateWriteUtc' on 'DigiAPI.Models.Chat'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomNamespaceXmlFormatter' to generate sample for media type 'application/xml'. Exception message: There was an error generating the XML document.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomNamespaceXmlFormatter' to generate sample for media type 'text/xml'. Exception message: There was an error generating the XML document.