GET v1/selChatMessages?AccountID={AccountID}&SearchText={SearchText}&RowIndex={RowIndex}&RowCount={RowCount}

Метод який повертає масив повідомлень акаунта.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

None.

searchText

string

None.

rowIndex

Індекс останнього результату даних

integer

Required

rowCount

Кількість даних

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ChatMessage
NameDescriptionTypeAdditional information
id

ID повідомлення

integer

None.

senderID

ID відправника Task

integer

None.

senderName

Назва відправника Task

string

None.

recipientID

ID отримувача Task

integer

None.

recipientName

Назва отримувача Task

string

None.

text

Текст повідомлення

string

None.

textFormatted

Текст повідомлення відформатований

string

None.

onDate

Дата створення повідомлення у форматі ISO

date

None.

isRead

Ознака чи прочитане повідомлення

boolean

None.

files

Список ID файлів

Collection of ChatMessageFile

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "senderID": 2,
    "senderName": "sample string 3",
    "recipientID": 4,
    "recipientName": "sample string 5",
    "text": "sample string 6",
    "textFormatted": "sample string 6",
    "onDate": "2026-06-10T07:10:44.8957417+03:00",
    "isRead": true,
    "files": [
      {
        "id": 1,
        "name": "sample string 2",
        "binarySize": 3,
        "base64Size": 4,
        "body": "sample string 5",
        "offset": 6,
        "guid": "sample string 7"
      },
      {
        "id": 1,
        "name": "sample string 2",
        "binarySize": 3,
        "base64Size": 4,
        "body": "sample string 5",
        "offset": 6,
        "guid": "sample string 7"
      }
    ]
  },
  {
    "id": 1,
    "senderID": 2,
    "senderName": "sample string 3",
    "recipientID": 4,
    "recipientName": "sample string 5",
    "text": "sample string 6",
    "textFormatted": "sample string 6",
    "onDate": "2026-06-10T07:10:44.8957417+03:00",
    "isRead": true,
    "files": [
      {
        "id": 1,
        "name": "sample string 2",
        "binarySize": 3,
        "base64Size": 4,
        "body": "sample string 5",
        "offset": 6,
        "guid": "sample string 7"
      },
      {
        "id": 1,
        "name": "sample string 2",
        "binarySize": 3,
        "base64Size": 4,
        "body": "sample string 5",
        "offset": 6,
        "guid": "sample string 7"
      }
    ]
  }
]