文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
获取管辖车辆列表
更新时间:2018-04-20 16:49:09   更新人员:叶洋   文档状态:完成 #201    测试接口
摘要
获取管辖车辆列表
  1. 接口基本信息
    接口名称:获取车辆列表数据
    请求方法:GET
    接口地址:truck
    登录验证:是
  2. 请求参数
    参数名 参数 数据类型 是否必须 示例值 说明
    page 分页 int
    row 每页数量 int
    plate_no 车牌号 string 川A88888 依据车牌号码规则
    org_id 所属组织id string
    prop 车辆类别 int 1 车辆类别: 1:内部车 2:外部车 3:挂靠车
    type 车辆类型 string 厢式 车辆类型: 厢式|冷藏|半挂|拖挂|面包|微货|冷链集装箱|重型|高栏|敞篷|小长安|大
    org_type 组织类型 int
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    truck_id 车辆ID string 5c9c86aa01760051
    status 状态 int 1
    org_type 归属组织类型 int 5
    org_id 归属组织ID string 19c20ac4918cd07b
    prop 性质 int 1
    type 类型 int 1
    driving_license_front 行驶证正面照 string 3216549870654123
    driving_license_back 行驶证副页照 string 3216549870654123
    pics 车辆照片 string 0b84bf78348b636c
    plate_no 车牌号 string 川AD04305
    plate_color 车牌颜色 int 3
    car_model 品牌型号 string 东风牌DFL5136021X1
    use_character 使用性质 string 货运
    vehicle_type 车辆类型 string 重型仓栅式货车
    issue_unit 发证机关 string 四川省成都市公安局交通警察支队
    issue_date 发证日期 string 2018-12-19
    register_date 注册日期 string 2018-12-19
    vin 车辆识别代码 string LA9XL44B6JALG6033
    rtc_no 运输证号 string 123456789
    rtc_pic 运输证图片 string 1234567890123456
    rop_no 运营证号 string 123456789
    rop_pic 运营证图片 string 1234567890123456
    total_mass 总质量 int 4495
    unladen_mass 整备质量 int 2995
    approved_load 核定载质量 int 1305
    traction_mass 准牵引总质量 string -
    energy_type 能源类型 string 新能源/电
    owner_name 所有人名称 string 温世忠
    owner_phone 所有人联系电话 string 18328077133
    remark 备注 string 强制报废期止:2033-12-19
    length 车长 int 9000 外廓尺寸 单位:mm
    width 车宽 int 2500 外廓尺寸 单位:mm
    height 车高 int 3760 外廓尺寸 单位:mm
    load_weight 载重重量 int 9600 这个值必须小于等于行驶证上规定的最大允载重量,用于平台派单时限重分车功能。单位:千克
    load_volume 载重体积 int 16 这个值用于平台派单时限容分车功能。单位:立方米
    load_style 装载空间形状 int 1 1 规则的长方体 2 不规则空间
    load_length 装载空间的长 int 7 记录可装货的空间大小,单位:米
    load_width 装载空间的宽 float 2.4 记录可装货的空间大小,单位:米
    load_height 装载空间的高 float 2.6 记录可装货的空间大小,单位:米
    owner_check 车主效验状态 int 0 来自中交接口:检查车主真实性
    owner_id 车主三方id string 来自中交接口
    vcl_id 车辆三方id string 来自中交接口
    is_exist 车辆是否存在 int 0 来自中交接口
    notify_area 通知区域 string
    lastpos 最后GPS位置 string
    create_time 创建时间 string 1970-01-01 08:00:00
    create_by{} 创建人 object
    ├ uid ├ UID string 3ddb3e1c3824caea
    ├ code ├ code string U944517
    ├ username ├ 用户名 string zt
    ├ nickname ├ 昵称 string 张**
    └ realname └ 真实姓名 string 张**
    update_time 更新时间 string 2020-03-13 15:52:09
    update_by{} 更新人 object
    ├ uid ├ UID string 3ddb3e1c3824caea
    ├ code ├ code string U944517
    ├ username ├ 用户名 string zt
    ├ nickname ├ 昵称 string 张**
    └ realname └ 真实姓名 string 张**
    dsp_id 分公司ID string 5d5f908f******71
    gss G7提交状态 int 0 0未提交 1已提交 2审核通过 3审核失败
    gss_msg G7提交消息 string
    gss_img_1 G7行驶证照片提交状态 int 0
    gss_img_2 G7运输证照片提交状态 int 0
    gss_img_5 G7运营证照片提交状态 int 0
    truck_type{} 种类数据 object
    ├ id ├ id int 1
    ├ name ├ 车辆种类名称 string 货车
    ├ vehicle_type ├ vehicle_type string 轻型普通货车
    ├ brand_name ├ brand_name string 吉利
    ├ seat_num ├ seat_num int 2
    ├ wheels_num ├ wheels_num int 4
    ├ engine ├ engine string 发动机引擎名称
    ├ charging_method ├ charging_method int 1
    ├ energy_type ├ energy_type string 柴油
    ├ energy_capacity ├ energy_capacity string 100
    ├ convertible_mileage ├ convertible_mileage string 300
    ├ length ├ length int 3
    ├ width ├ width float 1.8
    ├ height ├ height int 2
    ├ load_weight ├ load_weight int 25000
    ├ load_volume ├ load_volume int 30
    ├ load_style ├ load_style int 1
    ├ load_length ├ load_length float 2.8
    ├ load_width ├ load_width float 1.7
    ├ load_height ├ load_height float 1.9
    ├ cover ├ cover string 0e91de141722ac34
    └ desc └ desc string 2222
    driver_live{} 当前正绑定的司机信息 object
    ├ id ├ id int 84
    ├ truck_id ├ truck_id string 5c9c86aa01760051
    ├ driver_id ├ driver_id string 9456df86cc72a546
    ├ contract_id ├ contract_id string
    ├ status ├ status int 1
    ├ start_time ├ start_time int 1576142718
    ├ end_time ├ end_time int 0
    ├ use_type ├ use_type int 0
    ├ plan_generate ├ plan_generate int 0
    ├ rent_plan ├ rent_plan int 0
    ├ rent_amount ├ rent_amount int 0
    ├ rent_method ├ rent_method int 0
    ├ rent_daytime ├ rent_daytime int 0
    ├ rent_startday ├ rent_startday string
    ├ periods_total ├ periods_total int 0
    ├ periods_paid ├ periods_paid int 0
    ├ username ├ username string dev110
    ├ nickname ├ nickname string 司测110
    ├ realname ├ realname string 司测110
    ├ realname_initials ├ realname_initials string sc1
    ├ email ├ email string 5489485@qq.com
    ├ sex ├ sex int 1
    └ mobile └ mobile string 18200509877
    orginfo{} orginfo object
    ├ rim_id ├ rim_id string 19c20ac4918cd07b
    ├ code ├ code string R3189
    ├ status ├ status int 1
    ├ type ├ type int 1
    ├ create_time ├ create_time string 2019-05-31 14:42:54
    ├ create_by{} ├ create_by object
    │ ├ uid │ ├ uid string 1e763c794ccb2d85
    │ ├ code │ ├ code string U285661
    │ ├ username │ ├ username string wwt008
    │ ├ nickname │ ├ nickname string 汪**
    │ └ realname │ └ realname string 汪**
    ├ update_time ├ update_time string 2019-05-31 15:27:53
    ├ update_by{} ├ update_by object
    │ ├ uid │ ├ uid string 00000******01
    │ ├ code │ ├ code string U1000000
    │ ├ username │ ├ username string l****
    │ ├ nickname │ ├ nickname string 李**
    │ └ realname │ └ realname string 李**
    ├ delete_time ├ delete_time int 0
    ├ country_id ├ country_id int 1
    ├ province_id ├ province_id int 37491
    ├ city_id ├ city_id int 37917
    ├ district_id ├ district_id int 38320
    ├ street_id ├ street_id int 0
    ├ lng ├ lng float 104.115905
    ├ lat ├ lat float 30.794768
    ├ name ├ name string 成都新都
    ├ initials ├ initials string cdxd
    ├ english_name ├ english_name string Xindu, Chengdu
    ├ address ├ address string 四川省成都市新都区*******
    ├ contacts ├ contacts string 李**
    ├ mobile ├ mobile string 18908016649
    ├ tel ├ tel string
    ├ fax ├ fax string
    ├ email ├ email string
    ├ cover ├ cover string
    ├ description ├ description string
    ├ remark ├ remark string
    ├ dsp_id ├ dsp_id string 5d5f908f88adec71
    ├ platform{} ├ platform object
    │ ├ dsp_id │ ├ dsp_id string 5d5f908f88adec71
    │ ├ code │ ├ code string P8574
    │ ├ name │ ├ name string 成都分公司
    │ ├ initials │ ├ initials string cdfgs
    │ ├ english_name │ ├ english_name string
    │ ├ address │ ├ address string 四川省成都市新都区新竹大*********
    │ ├ contacts │ ├ contacts string 汪**
    │ ├ mobile │ ├ mobile string 13608214016
    │ ├ tel │ ├ tel string
    │ ├ fax │ ├ fax string
    │ ├ email │ ├ email string
    │ ├ cover │ ├ cover string
    │ └ status │ └ status int 1
    ├ platform_name ├ platform_name string 成都分公司
    └ otype_name └ otype_name string 区域商
  4. 请求示例
    请求例子:
     
    apirq('truck', {
        data: {
            "row": 1,
            "page": 5
        }
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1524213696",
        "data": {
            "page": 5,
            "row": 1,
            "count": 1,
            "total_count": 5,
            "total_page": 5,
            "lists": [
                {
                    "truck_id": "5ad9a22401010000",
                    "com_id": "dc332415f1c87f9b",
                    "plate_no": "鲁Q9094N",
                    "vco": 2,
                    "vin": "",
                    "prop": 2,
                    "type": "厢式",
                    "status": 1,
                    "length": "0.00",
                    "width": "0.00",
                    "height": "0.00",
                    "load_length": "15.00",
                    "load_width": "4.00",
                    "load_height": "3.00",
                    "load_volume": 180,
                    "load_weight": 500,
                    "owner_name": "小公子",
                    "owner_phone": "",
                    "owner_check": 0,
                    "owner_id": "",
                    "vcl_id": "",
                    "is_exist": 0,
                    "notify_area": "",
                    "driver": "c3f444804ce160cf",
                    "delete_time": null,
                    "com_name": "世界和平物流有限公司",
                    "driver_name": "小玉儿",
                    "driver_mobile": "13212345678"
                }
            ]
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员