post https://api.astaraconnect.com/v1/assets/create
This endpoint allows you to register a new asset with the specified details.
The following fields are optional unless otherwise stated:
- id (required): 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(required): 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 (required): The ID of the associated vehicle version.
- company_oid: The OID of the associated company.