1.URL
http://124.223.60.234:8080/system/asset/vehicletype/queryVehicleTypeList
or Server in US
https://cloud.aovx.com/prod/system/asset/vehicletype/queryVehicleTypeList
2.Request parameters
2.1.Request headers
Add token in Headers: After successful login verification, the corresponding tokenId in user login response data
2.2.Parameters example
Directly query the list of all asset types defined by the system without passing in parameters
3.Response content
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": [
{
"id": 1,
"typeName": "{\"0\":\"Van\",\"1\":\"厢式货车\"}",
"typeInfos": [
{
"index": 1,
"field": "length",
"dataName": "{\"0\":\"Length\",\"1\":\"车身长度\"}",
"dataType": 3,
"length": null
},
{
"index": 2,
"field": "width",
"dataName": "{\"0\":\"Width\",\"1\":\"车身宽度\"}",
"dataType": 3,
"length": null
},
{
"index": 3,
"field": "height",
"dataName": "{\"0\":\"Height\",\"1\":\"车身高度\"}",
"dataType": 3,
"length": null
},
{
"index": 4,
"field": "carry",
"dataName": "{\"0\":\"Carry\",\"1\":\"载客量\"}",
"dataType": 1,
"length": null
},
{
"index": 9,
"field": "purchase_date",
"dataName": "{\"0\":\"Purchase Date \",\"1\":\"采购日期\"}",
"dataType": 2,
"length": null
},
{
"index": 10,
"field": "buyer",
"dataName": "{\"0\":\"Buyer\",\"1\":\"采购人\"}",
"dataType": 0,
"length": 50
},
{
"index": 11,
"field": "insurance_company",
"dataName": "{\"0\":\"Insurance Company\",\"1\":\"保险公司\"}",
"dataType": 0,
"length": 50
},
{
"index": 12,
"field": "insurance_exp_date",
"dataName": "{\"0\":\"Insurance Expiration Date\",\"1\":\"保险到期日期\"}",
"dataType": 2,
"length": null
},
{
"index": 5,
"field": "load",
"dataName": "{\"0\":\"Load\",\"1\":\"满载量\"}",
"dataType": 3,
"length": null
},
{
"index": 6,
"field": "vin",
"dataName": "{\"0\":\"VIN\",\"1\":\"车辆VIN\"}",
"dataType": 0,
"length": 50
},
{
"index": 8,
"field": "sales_company",
"dataName": "{\"0\":\"Sales Company\",\"1\":\"购车公司\"}",
"dataType": 0,
"length": 50
},
{
"index": 7,
"field": "brand",
"dataName": "{\"0\":\"Brand\",\"1\":\"车辆品牌\"}",
"dataType": 0,
"length": 50
}
]
},
{
"id": 2,
"typeName": "{\"0\":\"Truck\",\"1\":\"卡车\"}",
"typeInfos": []
},
{
"id": 3,
"typeName": "{\"0\":\"Bus\",\"1\":\"客车\"}",
"typeInfos": []
},
{
"id": 4,
"typeName": "{\"0\":\"Trailer\",\"1\":\"拖车\"}",
"typeInfos": []
},
{
"id": 5,
"typeName": "{\"0\":\"Car\",\"1\":\"小汽车\"}",
"typeInfos": []
},
{
"id": 6,
"typeName": "{\"0\":\"Motorcycle\",\"1\":\"摩托车\"}",
"typeInfos": []
},
{
"id": 7,
"typeName": "{\"0\":\"Container\",\"1\":\"集装箱\"}",
"typeInfos": []
}
]
}
3.2.Response description
Field | Data type | description |
---|---|---|
code | int | Return code |
message | String | Return message |
data | object | Response data |
Response data description
Field | Data type | description |
---|---|---|
id | String | Asset type ID |
typeName | String | Asset type name |
typeInfos | object | Asset type extension information |
typeInfos description
Field | Data type | description |
---|---|---|
index | String | Expand the information index, which can be used to sort during display |
field | String | Fields corresponding to asset expansion information storage |
dataName | String | Field display name |
dataType | int | Data type (0: String; 1: Numeric; 2: Time; 3: Floating-point) |
length | int | Data length, valid only when data type is 0 |
作者:admin 创建时间:2023-04-25 10:11
最后编辑:admin 更新时间:2024-12-27 19:48
最后编辑:admin 更新时间:2024-12-27 19:48