post https://api.astaraconnect.com/v1/assets//update
This endpoint allows you to update an existing asset by its oid.
You can update the following fields:
- id: The unique ID of the asset, For vehicles is the VIN.
- license_plate: The license plate of the asset if is a vehicle.
- model_year: The year of the vehicle model.
- tank_size: The size of the fuel tank in liters for vehicles.
- color: Color of the asset (as an enum value).
- alias: A friendly name for the asset.
- battery_size: Integer with the battery size expressed in kWh for electric vehicles.
- external_validation_data: Json with external validation id to extract information from provider. Eg. value with which to extract the information in Cartrack provider.
- version_id: The ID of the associated vehicle version.