DataConnectors.getVerjio

Namespaced map of REST Data Connectors prefixed with connectors.verjio.

The namespace location to store Data Connectors that have been downloaded from the Verj.io Materials and downloaded from the Resource Hub

Further documentation.

Using the Data Connector example:

On Click Event:

 function checkMOTValid() {
    var valid;

    try {
       var resp = connectors.verjio.dvla.getVehicleInfo('HA58 TAG');
       valid = resp.motStatus;
    } catch (e) {
       if (e instanceof HttpNotFoundError) {
          // Registration number was not found
          valid = null;
       }
    }

    return valid;
 }
 

returns java.util.Map