Skip to content

Get the basic of the user's vehicle

Get the basic information of the user's vehicle (main ID and name)

API info

Url: /basic_api/v1/user/get_user_vehicle_info_base_info

Method: GET

Content-Type:x-www-form-urlencoded

Request parameter

nothing

Response Data (type:array)

fieldtypedesc
vehicleGuidintegerVehicle ID
vehicleNostringPlat No.
vehicleNoColorintegerPlat No. color
deviceGuidintegerDevice ID
deviceNostringDevice number
orgGuidintegerPacket ID
orgNamestringGroup name
channelNumintegerNumber of channels
channelValidFlagintegerChannel valid flag bits, such as 1: channel 1 is valid,2: channel 2 is valid,3: channel 1 and 2 are valid
iconIDintegerCar icon ID(todo)
notestringremark
staffInfosarrayFor a list of staff, see Table 1 definitions

Table 1: List of staff (type:object)

fieldtypedesc
staffGuidintegerEmployee ID
staffNamestringEmployee name
staffPhonestringContact information

Example

Request example

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

Response example

json
{
  "hdr": {
    "code": 200,
    "message": "success"
  },
  "data": [{
    "vehicleGuid":1,
    "vehicleNo":"testA12343",
    "vehicleNoColor":2,
    "deviceGuid":2,
    "deviceNo":"1300000001",
    "orgGuid":2,
    "orgName":"test",
    "channelNum":4,
    "channelValidFlag": 15,//Indicates that the four channels are valid
    "iconID":1, 
    "note":"test car",
    "staffInfos":[{
        "staffGuid":1,
        "staffName":"Li ming",
        "staffPhone":"1300000001"
    }],
  }]
}
{
  "hdr": {
    "code": 200,
    "message": "success"
  },
  "data": [{
    "vehicleGuid":1,
    "vehicleNo":"testA12343",
    "vehicleNoColor":2,
    "deviceGuid":2,
    "deviceNo":"1300000001",
    "orgGuid":2,
    "orgName":"test",
    "channelNum":4,
    "channelValidFlag": 15,//Indicates that the four channels are valid
    "iconID":1, 
    "note":"test car",
    "staffInfos":[{
        "staffGuid":1,
        "staffName":"Li ming",
        "staffPhone":"1300000001"
    }],
  }]
}