POST api/v3/Client/ReadDevicesByDate
按日期查询设备
Request Information
URI Parameters
None.
Body Parameters
M3_Date| Name | Description | Type | Additional information |
|---|---|---|---|
| dateB |
起始日期 (年-月-日、年-月、年) |
string |
Required |
| dateE |
终止日期 (若为空,则按照起始日期+1查询) |
string |
None. |
| small |
small短包 |
boolean |
None. |
| lastTime |
LastTime最后时间 |
string |
None. |
| opt |
可选项 //管理员、待审核、未通过、已通过 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"dateB": "sample string 1",
"dateE": "sample string 2",
"small": true,
"lastTime": "sample string 4",
"opt": "sample string 5"
}
application/xml, text/xml
Sample:
<M3_Date xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.ModelsV3"> <dateB>sample string 1</dateB> <dateE>sample string 2</dateE> <lastTime>sample string 4</lastTime> <opt>sample string 5</opt> <small>true</small> </M3_Date>
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>