POST api/CarCheck/CarCheckList
年审记录列表
Request Information
Body Parameters
年审记录参数
CarCheckListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId |
设备 id |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceId": 1
}
application/xml, text/xml
Sample:
<CarCheckListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <DeviceId>1</DeviceId> </CarCheckListModel>
Response Information
Resource Description
State 值为:
0. 表示成功
100. 表示无记录
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items |
年检信息集合 |
Collection of CarCheckListInfo |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"CheckTime": "sample string 1",
"Cost": 2.0,
"Created": "sample string 3",
"DeviceID": 4,
"Id": 5
},
{
"CheckTime": "sample string 1",
"Cost": 2.0,
"Created": "sample string 3",
"DeviceID": 4,
"Id": 5
}
],
"State": 1
}
application/xml, text/xml
Sample:
<CarCheckListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
<State>1</State>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
<d2p1:CarCheckListInfo>
<d2p1:CheckTime>sample string 1</d2p1:CheckTime>
<d2p1:Cost>2</d2p1:Cost>
<d2p1:Created>sample string 3</d2p1:Created>
<d2p1:DeviceID>4</d2p1:DeviceID>
<d2p1:Id>5</d2p1:Id>
</d2p1:CarCheckListInfo>
<d2p1:CarCheckListInfo>
<d2p1:CheckTime>sample string 1</d2p1:CheckTime>
<d2p1:Cost>2</d2p1:Cost>
<d2p1:Created>sample string 3</d2p1:Created>
<d2p1:DeviceID>4</d2p1:DeviceID>
<d2p1:Id>5</d2p1:Id>
</d2p1:CarCheckListInfo>
</Items>
</CarCheckListResult>