1.URL
http://124.223.60.234:8080/system/asset/vehicle/updateVehicleInfo
or Server in US
https://cloud.aovx.com/prod/system/asset/vehicle/updateVehicleInfo
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
{
"id":"A5AA44FE281A474FA6E724DECC7EE541",
"vehicleNum":"V-000007",
"orgId":"199D9E6F70114AD3A36ACA6A9742B66D",
"terminals":[
{
"id":"434CB97CF48440E59B3FFDB10D145D9D"
}
],
"iconType":0,
"imgUrl":"[]",
"vehicleTypeId":1,
"typeInfo":"{\"length\":9.8,\"width\":5.2,\"height\":3.0,\"carry\":3,\"load\":20.0,\"vin\":\"VCS09SJSJ7979S\",\"brand\":\"WULING\",\"sales_company\":\"柳州五菱\",\"purchase_date\":\"2023-01-03\",\"buyer\":\"Mr.Li\",\"insurance_company\":\"平安车险\",\"insurance_exp_date\":\"2024-01-03\"}",
"driverId":"",
"driverName":"",
"status":1,
"descInfo":"五菱Mini EV"
}
2.3.Parameters description
Field | Data type | description | required |
---|---|---|---|
id | String | Unique identification of asset | Y |
vehicleNum | String | Asset number | Y |
orgId | String | Organizational Unique Identification | Y |
terminals | List | Collection of asset binding devices Unique Identification | Y |
iconType | int | Icon type | Y |
imgUrl | String | Asset photos (multiple stored in List JSON format) | Y |
vehicleTypeId | int | Asset type Id(The corresponding query asset type returns the ID in the message body) | Y |
typeInfo | String | For information on asset type expansion, please refer to Asset type Management | Y |
driverId | String | Asset owner ID | Y |
driverName | String | Name of asset owner | Y |
status | int | Asset status (0: disabled; 1: enabled;) | Y |
descInfo | String | Asset description | Y |
3.Response content
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
3.2.Response description
Field | Data type | description |
---|---|---|
code | int | Return code |
message | String | Return message |
data | object | Response data |
作者:admin 创建时间:2023-04-25 10:10
最后编辑:admin 更新时间:2024-12-27 19:48
最后编辑:admin 更新时间:2024-12-27 19:48