POST api/Chat/Save
Request Information
URI Parameters
None.
Body Parameters
T_Message| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Memo | string |
None. |
|
| fromUserId | integer |
None. |
|
| toUserId | integer |
None. |
|
| addTime | date |
None. |
|
| isRead | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Memo": "sample string 2",
"fromUserId": 3,
"toUserId": 4,
"addTime": "2025-12-29T23:51:04.8630126+08:00",
"isRead": 6
}
application/xml, text/xml
Sample:
<T_Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models"> <Id>1</Id> <Memo>sample string 2</Memo> <addTime>2025-12-29T23:51:04.8630126+08:00</addTime> <fromUserId>3</fromUserId> <isRead>6</isRead> <toUserId>4</toUserId> </T_Message>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />