GET api/TMSApp/Vehicle/GetList?pageIndex={pageIndex}&pageSize={pageSize}&keyWord={keyWord}&distance={distance}&lon={lon}&lat={lat}&carType={carType}&status={status}&corpID={corpID}
获取车辆信息,我的车辆,2.4
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageIndex |
分页,从0开始 |
integer |
Required |
pageSize |
每页显示多少项 |
integer |
Required |
keyWord |
搜索关键词 |
string |
Required |
distance |
附近距离范围 |
integer |
Required |
lon |
经度 |
decimal number |
Required |
lat |
纬度 |
decimal number |
Required |
carType |
车辆类型 |
integer |
Required |
status |
车辆运输任务状态,0:空闲,1:任务中 |
integer |
Required |
corpID |
用户所属公司ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取车辆信息,我的车辆,2.4
MsgBaseApiPageOfListOfVehicleName | Description | Type | Additional information |
---|---|---|---|
Status |
返回状态0:失败,1:成功 |
integer |
None. |
Msg |
返回消息 |
string |
None. |
Data |
返回数据内容,默认为空 |
Collection of Vehicle |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Msg": "sample string 2", "Data": [ { "id": 1, "car_num": "sample string 2", "car_typename": "sample string 3", "LocationInfo": "sample string 4", "VStatus": 5, "ownerMobile": "sample string 6", "IsOnline": 7 }, { "id": 1, "car_num": "sample string 2", "car_typename": "sample string 3", "LocationInfo": "sample string 4", "VStatus": 5, "ownerMobile": "sample string 6", "IsOnline": 7 } ] }