POST api/Msg/SendMsg
Request Information
URI Parameters
None.
Body Parameters
WORK_ProjMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjID | integer |
None. |
|
| UserID | integer |
None. |
|
| Type | string |
None. |
|
| Text | string |
None. |
|
| Link | string |
None. |
|
| Image | string |
None. |
|
| Thumbnail | string |
None. |
|
| Video | string |
None. |
|
| FileUrl | string |
None. |
|
| FileName | string |
None. |
|
| ReqTime | date |
None. |
|
| State | integer |
None. |
|
| MsgBit | boolean |
None. |
|
| HadRead | string |
None. |
|
| Topping | boolean |
None. |
|
| ID | integer |
None. |
|
| CreateTime | date |
None. |
|
| IsDel | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjID": 1,
"UserID": 2,
"Type": "sample string 3",
"Text": "sample string 4",
"Link": "sample string 5",
"Image": "sample string 6",
"Thumbnail": "sample string 7",
"Video": "sample string 8",
"FileUrl": "sample string 9",
"FileName": "sample string 10",
"ReqTime": "2026-02-04T10:05:43.3150691+08:00",
"State": 12,
"MsgBit": true,
"HadRead": "sample string 14",
"Topping": true,
"ID": 16,
"CreateTime": "2026-02-04T10:05:43.3150691+08:00",
"IsDel": true
}
application/xml, text/xml
Sample:
<WORK_ProjMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Domain.Entities"> <CreateTime>2026-02-04T10:05:43.3150691+08:00</CreateTime> <ID>16</ID> <IsDel>true</IsDel> <FileName>sample string 10</FileName> <FileUrl>sample string 9</FileUrl> <HadRead>sample string 14</HadRead> <Image>sample string 6</Image> <Link>sample string 5</Link> <MsgBit>true</MsgBit> <ProjID>1</ProjID> <ReqTime>2026-02-04T10:05:43.3150691+08:00</ReqTime> <State>12</State> <Text>sample string 4</Text> <Thumbnail>sample string 7</Thumbnail> <Topping>true</Topping> <Type>sample string 3</Type> <UserID>2</UserID> <Video>sample string 8</Video> </WORK_ProjMsg>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<HttpResOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models"> <code>1</code> <data /> <msg>sample string 2</msg> </HttpResOfstring>