GET api/ChatGPT/GetChat?lastMsgRid={lastMsgRid}&size={size}
Chat
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lastMsgRid | integer |
Required |
|
| size | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ChatGPTMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| record_id |
Id сообщения |
integer |
None. |
| msg |
Сообщение |
string |
None. |
| dt_add |
Дата создания |
date |
None. |
| main_msg_rid |
Ответ на сообщение Id |
integer |
None. |
| is_gpt |
Признак ответа gpt |
boolean |
None. |
| photo_path |
Фото |
string |
None. |
| audio_path |
Аудио |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"record_id": 1,
"msg": "sample string 2",
"dt_add": "2026-02-04T07:00:06.7218248+05:00",
"main_msg_rid": 1,
"is_gpt": true,
"photo_path": "sample string 5",
"audio_path": "sample string 6"
},
{
"record_id": 1,
"msg": "sample string 2",
"dt_add": "2026-02-04T07:00:06.7218248+05:00",
"main_msg_rid": 1,
"is_gpt": true,
"photo_path": "sample string 5",
"audio_path": "sample string 6"
}
]
text/html
Sample:
[{"record_id":1,"msg":"sample string 2","dt_add":"2026-02-04T07:00:06.7218248+05:00","main_msg_rid":1,"is_gpt":true,"photo_path":"sample string 5","audio_path":"sample string 6"},{"record_id":1,"msg":"sample string 2","dt_add":"2026-02-04T07:00:06.7218248+05:00","main_msg_rid":1,"is_gpt":true,"photo_path":"sample string 5","audio_path":"sample string 6"}]