POST api/OrderEM/AddChatVoice
添加一条聊天记录
Request Information
URI Parameters
None.
Body Parameters
M_AddChatVoice| Name | Description | Type | Additional information |
|---|---|---|---|
| path |
path |
string |
Required |
| second |
second |
integer |
Required |
| sn |
报警订单sn |
integer |
Required |
| uSN |
用户sn |
integer |
Required |
| nick |
昵称 |
string |
Required |
| msg |
消息 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"path": "sample string 1",
"second": 2,
"sn": 3,
"uSN": 4,
"nick": "sample string 5",
"msg": "sample string 6"
}
application/xml, text/xml
Sample:
<M_AddChatVoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <msg>sample string 6</msg> <nick>sample string 5</nick> <sn>3</sn> <uSN>4</uSN> <path>sample string 1</path> <second>2</second> </M_AddChatVoice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
M_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Contant |
内容,包含返回所需要的类 |
Object |
Required |
| Status |
状态 |
integer |
Required |
| Msg |
信息 |
string |
Required |
| Num |
数值,数据变动条数或增加时返回的ID |
integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"Contant": {},
"Status": 2,
"Msg": "sample string 3",
"Num": 4
}
application/xml, text/xml
Sample:
<M_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <Msg>sample string 3</Msg> <Num>4</Num> <Status>2</Status> <Contant /> </M_Response>