POST api/v3/Client/AddRecord
遥控录音
Request Information
URI Parameters
None.
Body Parameters
M3_Record| Name | Description | Type | Additional information |
|---|---|---|---|
| sub |
sub参数 |
integer |
Required |
| SN |
报警订单SN |
integer |
Required |
| Msg |
消息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"sub": 1,
"SN": 2,
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<M3_Record xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.ModelsV3"> <Msg>sample string 3</Msg> <SN>2</SN> <sub>1</sub> </M3_Record>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
M3_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Contant |
内容,包含返回所需要的类 |
Object |
Required |
| lastTime |
内容,包含返回所需要的类 |
string |
Required |
| Status |
状态 |
integer |
Required |
| Msg |
信息 |
string |
Required |
| Num |
数值,数据变动条数或增加时返回的ID |
integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"Contant": {},
"lastTime": "sample string 2",
"Status": 3,
"Msg": "sample string 4",
"Num": 5
}
application/xml, text/xml
Sample:
<M3_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.ModelsV3"> <Msg>sample string 4</Msg> <Num>5</Num> <Status>3</Status> <Contant /> <lastTime>sample string 2</lastTime> </M3_Response>