Skip to content

获取用户车辆基本信息

获取用户车辆的基本信息(主要ID和名称),

接口信息

请求地址: /basic_api/v1/user/get_user_vehicle_info_base_info

请求类型: GET

Content-Type:x-www-form-urlencoded

请求参数据

响应Data 类型:array

字段类型说明
vehicleGuidinteger车辆ID
vehicleNostring车牌号
vehicleNoColorinteger车牌颜色
deviceGuidinteger设备ID
deviceNostring设备号
orgGuidinteger分组ID
orgNamestring分组名称
channelNuminteger通道数量
channelValidFlaginteger通道有效标志位,按位取值,如1:通道1有效,2:通道2有效,3:通道1,2有效
iconIDinteger车图标ID(todo)
notestring备注
staffInfosarray人员列表,查看表1定义

表1:人员列表 (类型:object)

字段类型说明
staffGuidinteger员工ID
staffNamestring员工名称
staffPhonestring联系方式

示例

请求示例

url
http://localhost:8080/basic_api/v1/user/get_user_vehicle_info_base_info?_t=1698998017641
http://localhost:8080/basic_api/v1/user/get_user_vehicle_info_base_info?_t=1698998017641

响应示例

json
{
  "hdr": {
    "code": 200,
    "message": "success"
  },
  "data": [{
    "vehicleGuid":1,
    "vehicleNo":"测A12343",
    "vehicleNoColor":2,
    "deviceGuid":2,
    "deviceNo":"1300000001",
    "orgGuid":2,
    "orgName":"测试",
    "channelNum":4,
    "channelValidFlag": 15,//表示4个通道有效
    "iconID":1, 
    "note":"测试车",
    "staffInfos":[{
        "staffGuid":1,
        "staffName":"小三",
        "staffPhone":"1300000001"
    }],
  }]
}
{
  "hdr": {
    "code": 200,
    "message": "success"
  },
  "data": [{
    "vehicleGuid":1,
    "vehicleNo":"测A12343",
    "vehicleNoColor":2,
    "deviceGuid":2,
    "deviceNo":"1300000001",
    "orgGuid":2,
    "orgName":"测试",
    "channelNum":4,
    "channelValidFlag": 15,//表示4个通道有效
    "iconID":1, 
    "note":"测试车",
    "staffInfos":[{
        "staffGuid":1,
        "staffName":"小三",
        "staffPhone":"1300000001"
    }],
  }]
}