POST api/chat/message/send
Request Information
URI Parameters
None.
Body Parameters
ChatMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FromUserId | integer |
None. |
|
| ToUserId | integer |
None. |
|
| GroupId | integer |
None. |
|
| DemandId | integer |
None. |
|
| DemandOrderId | integer |
None. |
|
| MsgType | string |
None. |
|
| Content | string |
None. |
|
| FileName | string |
None. |
|
| Status | byte |
None. |
|
| CreateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"FromUserId": 2,
"ToUserId": 3,
"GroupId": 4,
"DemandId": 5,
"DemandOrderId": 6,
"MsgType": "sample string 7",
"Content": "sample string 8",
"FileName": "sample string 9",
"Status": 64,
"CreateTime": "2026-06-13T13:33:04.8696568+08:00"
}
application/xml, text/xml
Sample:
<ChatMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASDS.API.Chat"> <Content>sample string 8</Content> <CreateTime>2026-06-13T13:33:04.8696568+08:00</CreateTime> <DemandId>5</DemandId> <DemandOrderId>6</DemandOrderId> <FileName>sample string 9</FileName> <FromUserId>2</FromUserId> <GroupId>4</GroupId> <Id>1</Id> <MsgType>sample string 7</MsgType> <Status>64</Status> <ToUserId>3</ToUserId> </ChatMessage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.