企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 车辆列表 ~~~[api] get:/base/vehicle id#挂车id type#车型:1:普通车辆 style#车辆类型1:吨车;2:拖头 fleet_id#车队id state#车辆状态 1:空车,2:在途 relation#车辆状态0:未关联;1:已关联 number#车牌号 keywords#其他信息(姓名、联系电话、ETC) <<< success { "code":"0", "msg":"success", “data”:{"code":0,"msg":"获取成功","count":20,"data":\[{"id":75,"state":1,"number":"aaaaaaaaa","ETC":"444","rent":"1","rent\_source":"555","driver\_id":2,"mobile":"3333","CDKEY":"333","engine":"111","volume":"333","brand\_id":11212,"type":"2","relation":1,"trailer\_id":5,"tons\_id":7,"produce\_time":null,"status":1,"remark":null,"create\_time":"2021-10-13 11:02:05","update\_time":"2021-10-13 16:03:22","trailer":{"id":5,"fleet\_id":0,"vehicle\_id":75,"number":"1111","relation":1,"brand":"","style":"2","CDKEY":"","size":"1121sad","axle":2,"quality":"3","kg":"2","cabin":\["2","2"\],"cabin\_count":2,"produce\_time":null,"buy\_time":null,"status":1,"create\_time":"2021-10-09 16:22:06","update\_time":"2021-10-13 16:00:45"},"vehicle\_tons":{"id":5,"vehicle\_id":73,"color":"333","size":"222","axle":444,"quality":"555","quality\_all":"666","coefficient":"777","KM\_oil":"888","summer\_oil":"999","winter\_oil":"1111","stopwatch":"1212","maintenance":"aaa","create\_time":"2021-10-12 11:40:26"}}, } <<< error { "code":"-1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 | | data| 信息列表| | data.id| 车辆id| | data.fleet_id| 车队id| | data.state| 车辆状态 1:空车,2:在途| | data.number| 车牌号码| | data.ETC| ETC| | data.style| 车辆类型| | data.style_model| 车辆类型| | data.rent | 是否租凭 1:是 0:否| | data.rent_source | 租凭来源| | data.CDKEY| 车辆识别号| | data.driver_id| 默认司机id| | data.mobile| 默认司机手机| | data.engine|发动机号 | | data.volume|油箱容积| | data.KN|牵引力| | data.brand|品牌名 | | data.brand_model|品牌型号 | | data.type|车型:1:普通车辆;2:挂车 | | data.relation| 车辆状态0:未关联;1:已关联| | data.trailer_id|挂车id | | data.tons_id| 吨车信息id| | data.size| 车身尺寸| | data.size.long| 车身长| | data.size.width| 车身宽| | data.size.height| 车身高| | data.total_size| 车身总尺寸| | data.total_size.long| 车身长| | data.total_size.width| 车身宽| | data.total_size.height| 车身高| | data.total_axle|车身总轴数 | | data.total_quality|车身总质量 | | data.total_quality_all|车身总整装质量 | | data.total_kg|车辆总核载 | | data.produce_time| 出厂日期| | data.status|是否启用 0:否;1:是 | | data.remark|车辆备注 | | data.update_time|修改时间 | | data.create_time| 时间| | data.color| 吨车颜色| | data.axle| 吨车车轴数| | data.quality| 吨车车辆总质量| | data.quality_all| 吨车整装质量| | data.coefficient| 吨车里程数标准系数| | data.KM_oil| 吨车空公里油耗标准| | data.summer_oil| 吨车夏季油耗标准| | data.winter_oil| 吨车夏季油耗标准| | data.stopwatch| 吨车当前码表里程| | data.maintenance| 吨车保养里程| | data.vehicle_details|车辆详细信息(挂车部分查看挂车列表接口) | | data.vehicle_details.vehicle_id| 车辆id| | data.vehicle_details.kg| 荷载| | data.vehicle_details.cabin| 仓容量| | data.vehicle_details.cabin_count| 分仓数| | data.vehicle_details.create_time| 添加时间|