To verify the structure of the JSON result you can add a file named gei.save in the root of the SD-card.
Each time a request is made you will find a new text file named [license].json containing the returned data string, if the license is found in the registry. Open the file in any text editor.
Remove this file when finished as the GDPR law does not allow you to save this data on live terminals. The terminal will also run out of storage space on the SD-card quickly as a new file is created for every license plate entered. |
this is an example of the message returned from the British provider.
The example is real in the number of fields and the type of data returned but the registration ID and other data are fake.
The message is normally formatted in one line. for readability purpose we formatted it in the manual with line breaks.
The JSON format is "label": "data". E.g. "manufacturer": "VAUXHALL",
When requesting @json:manufacturer, the string VAUXHALL will be returned.
{
"identifiers": {
"vrm": "ABC123",
"gcode": {}
},
"dvladata": {
"registrationdate": {
"firstregistration": "2014-09-30",
"firstregistrationuk": "2014-09-30"
},
"manufacturer": "VAUXHALL",
"model": "ASTRA EXCITE",
"description": "",
"engine": {
"size": {
"cc": "01398"
}
},
"colour": {
"current": "WHITE"
},
"fuel": "PETROL",
"bodystyle": "5 DOOR HATCHBACK",
"manufacturedate": "2014-09-30",
"manufactureyear": "2014",
"seatcount": "005",
"co2emissionsgkm": "129",
"weightkg": {
"gross": "0000000"
},
"noisedb": {
"stationary": "073",
"driveby": "70",
"engine": "03750"
}
},
"enhanceddata": {
"gcodedata": {
"manufacturer": "Vauxhall",
"model": "Astra",
"derivative": "Excite",
"bodystyle": "Hatchback",
"fueltype": "Petrol",
"category": "Car",
"seatcount": "5",
"engine": {
"size": {
"litre": "1.4"
},
"emission": "129"
},
"weightkg": {
"gross": "1885"
}
},
"drivendata": {
"speed": {
"topspeedmph": "111",
"acceleration0to62mph": "13.60"
},
"engine": {
"emission": "129",
"euroemission": "6"
},
"mpg": {
"urban": "38.20",
"extraurban": "57.70",
"combined": "48.70"
},
"weightkg": {
"unladen": "1545 "
},
"eurostandard": "5b",
"coba": "Car",
"wltpmpg": {
"low": "",
"medium": "",
"highmpg": "",
"extrahigh": "",
"combined": ""
},
"nox": "",
"nmhc": "",
"vedband": "D"
}
}
}