POST api/v3/Client/ReadLastLog
查询日志V3
Request Information
URI Parameters
None.
Body Parameters
M_ReadLogLastV3| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
目标类型:Device、User、OrderEM |
string |
Required |
| SN |
编号:SN |
integer |
Required |
| Count |
数量 |
integer |
Required |
| SubType |
日志类型 数值型:Value, 状态型:Status, 信息型:Info, 全部类型:空 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Type": "sample string 1",
"SN": 2,
"Count": 3,
"SubType": "sample string 4"
}
application/xml, text/xml
Sample:
<M_ReadLogLastV3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.ModelsV3"> <Count>3</Count> <SN>2</SN> <SubType>sample string 4</SubType> <Type>sample string 1</Type> </M_ReadLogLastV3>
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>