hub.eb?material_id=769
Vehicle

DVLA

Connect to the DVLA and retrieve vehicle information from a UK Vehicle Registration Number.

Overview

The DVLA Data Connector uses the Driver & Vehicle Licensing Agency's Vehicle Enquiry Service API to retrieve information about vehicles in the UK.

Once this has been installed and added to a Form, you can access this Data Connector in the Form's server event scripts using: connectors.verjio.dvla.

  • dvla.getVehicleInfo retrieves information about a vehicle from its vehicle registration number (also known as a license plate). The information returned includes fuel type, MOT status, make, colour and body type.

Code example:

var result = connectors.verjio.dvla.getVehicleInfo('HA58 TAG');

 

Coming soon:

This Data Connector also makes some authentication functions available to help manage DVLA users using: connectors.verjio.dvla.authentication.

  • authentication.requestNewPasswordVerificationCode requests a verifcation code so that a new password can be updated for a user.
  • authentication.changePasswordByVerificationCode sets a new password for a user using a verfication code.
  • authentication.changePassword sets a new password for a user. Can only be used if their current password is valid and has not expired.
  • authentication.changeAPIKey retreive a new API key for a user.

Code example:

connectors.verjio.dvla.authentication.changePassword('newPassword');

 

For comprehensive information on how to use and develop applications with this Data Connector please refer to the Support section.

The Installation section has instructions on installing it into your Workspace.

Complete JavaScript API documentation for this Data Connector can be found in the Documentation section.

Documentation

Installation

Install this Data Connector into your Workspace in the Verj.io Studio:

  1. Right-click on the location in the Entity Tree you want the Data Connector to be added.
  2. Select New >  Data Connector from the context menu.
  3. In the resulting dialog, select this Data Connector from the list of available Data Connectors.
  4. Click OK to download it into your Workspace.

Once the Data Connector is installed into your Workspace, it can be added to any number of Forms:

  1. Open the Form by double-clicking it in the Entity Tree.
  2. Drag the downloaded Data Connector from the Entity Tree into the Form's  Data Connectors View.

Before this Data Connector can connect to the DVLA's Vehicle Enquiry Service API at runtime, it must be configured with your Vehicle Enquiry Service API key.

For comprehensive information on how to customise, use, and configure Data Connectors, please refer to the Support section.

Support

DVLA Support

Data Connector Support

UK Government Support

Compatible Verj.io Versions

FromV5.13

Required For

Support

Supported by Ebase.