Query vehicle details

Vehicle data can be useful when you want to display more information about the vehicle. You can access data using the vehicle query or get even more data with vehiclePremium. Please contact us for more information on how to get access to our premium data set.

Query vehicle details

Render all the ins and outs about your vehicles.

Query vehicle details

Query

To get specific details of a vehicle you need to provide a vehicleId. This id can be obtained by using the vehicleList query.

Arguments

id ID

Vehicles unique ID

country CountryCodeAlpha2

ISO-3166 alpha-2 country code to apply localization on vehicle data if available

Show CountryCodeAlpha2 enum values

Frequently used fields

id ID

Vehicles unique ID

naming VehicleNaming

Naming of the vehicle

connectors VehicleConnector

Available connectors for the vehicle

availability VehicleAvailability

Availability of the vehicle

Other fields

drivetrain VehicleDrivetrain

Drivetrain of the vehicle

adapters VehicleConnector

Adapters for the connectors of the vehicle

battery VehicleBattery

Battery of the vehicle

body VehicleBody

Body of the vehicle

performance VehiclePerformance

Performance of the vehicle

range VehicleRange

Range of the vehicle

media VehicleMedia

Media of the vehicle

routing VehicleRouting

Routing of the vehicle

connect Connect

Information about vehicle connectivity

Response

A response can either contain a data or an errors object. The response header will always return 200 as a status code.

Data object

When successful, a data object will be returned with the requested fields. If there are no fields present the data object will return the operation name with the appropriate return type. If the operation was a query, this output will be an object of the schema’s query root type; if the operation was a mutation, this output will be an object of the schema’s mutation root type.

Error object

If unsuccessful, an errors object will be returned with more details in the extensions object. The error object can contain any of the following objects.

Error

VEHICLE_NOT_FOUND

No vehicle was found with the provided ID