POST api/LogV2/ReadLastV2
查询日志V2
Request Information
URI Parameters
None.
Body Parameters
M_ReadLogLast| Name | Description | Type | Additional information |
|---|---|---|---|
| IMEI |
设备编号 |
string |
Required |
| Type |
日志类型 数值型:Value, 状态型:Status, 信息型:Info, 全部类型:空 |
string |
Required |
| Count |
数量 |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"IMEI": "sample string 1",
"Type": "sample string 2",
"Count": 3
}
application/xml, text/xml
Sample:
<M_ReadLogLast xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <Count>3</Count> <IMEI>sample string 1</IMEI> <Type>sample string 2</Type> </M_ReadLogLast>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
M_rpLogV2| Name | Description | Type | Additional information |
|---|---|---|---|
| Contant |
内容 |
Collection of M_LogV2 |
Required |
| Status |
状态 |
integer |
Required |
| Msg |
信息 |
string |
Required |
| Num |
数值,数据变动条数或增加时返回的ID |
integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"Contant": null,
"Status": 1,
"Msg": "sample string 2",
"Num": 3
}
application/xml, text/xml
Sample:
<M_rpLogV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <Msg>sample string 2</Msg> <Num>3</Num> <Status>1</Status> <Contant i:nil="true" /> </M_rpLogV2>