Prerequisites
To access the Accreditation Vehicle Mapping findCustomer method, you need to establish an API user to access the NHVR Developer Platform. For a step by step guide see Logging into the Developer Platform.
Using the accreditation vehicle mapping findCustomer API from the Accreditation Service
The accreditation vehicle mapping findCustomer API is exposed from the Accreditation Vehicle Mapping controller from the NHVR Portal - Accreditation Service.
Every call to the accreditation vehicle mapping findCustomer API should include the following headers:
Header | Value | Note |
Content-Type | 'application/json' | All calls are made using JSON data structures |
Ocp-Apim-Subscription-Key | Your subscription key for the NHVR Portal API | The subscription key uniquely identifies you to the NHVR Portal API |
The accreditations/{id}/accreditationVehicleMapping-customer endpoint uses the POST method and passes in a filter AccreditationVehicleMappingViewCustomer
{
"id":0,
"viewAction":"",
"viewType":"User",
"queryViewUserId":0,
"queryViewAccountId":0,
"queryViewSystemId":0,
"name":"string",
"description":"string",
"locked":false,
"subFilterId":"string",
"columns":[
{
"field":"string",
"size":0,
"hidden":false,
"pinned":""
}
],
"density":"standard",
"viewMode":"Table",
"utcOffset":0,
"silentUpdate":false,
"autoSave":false
}
The filter parameter is required to perform the search but can be an empty {} object.
https://api-public.nhvr.gov.au/accred/accreditations/{id}/accreditationVehicleMapping-customer
Specification
The full accreditation vehicle mapping findCustomer API specification is available on the NHVR Developer Platform: AccreditationVehicleMappingController.findCustomer.
The return results schema is provided below for quick reference:
{
"data": [
{
"id": 5,
"accreditationId": 2,
"customerAccountId": 3,
"vehicleId": null,
"registration": "YDI95L",
"vIN": "JAAN1R70L37100435",
"registrationStatus": "Registered",
"moduleStatus": "Inactive",
"label": "NHVAS1111",
"moduleMass": false,
"moduleMaintenance": true,
"lastDateInMass": "2023-05-10T19:33:21.300Z",
"lastDateOutMass": null,
"lastDateInMain": null,
"lastDateOutMain": null,
"vehicleBodyType": null,
"model": null,
"make": null,
"state": "ACT",
"name": "NED BERGER",
"lastRoadworthyDate": null,
"dateAdded": "2023-01-01T06:10:22.330Z",
"dateRemoved": "2025-01-01T06:10:22.330Z",
"manufacturersGrossCombinedMass": null,
"aggregateTrailerMass": null,
"permitNumber": null,
"permitExpiryDate": null,
"vehicleYearManufactured": null
}
],
"count": 1,
"filter": {
"limit": 50,
"skip": 0
},
"views": [],
"selectedView": {
"queryTypename": "AccreditationVehicleMappingViewCustomer",
"queryViewSystemId": 0,
"queryViewAccountId": 0,
"name": "Default view",
"description": "Default view automatically created",
"locked": false,
"autoSave": false,
"archived": false,
"id": 47,
"viewType": "User"
}
}
