Prerequisites
To access the Accreditation Audit History 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 audit history findCustomer API from the Accreditation Service
The accreditation audit history findCustomer API is exposed from the Accreditation Audit History controller from the NHVR Portal - Accreditation Service.
Every call to the accreditation audit history 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}/accreditationAuditHistory-customer endpoint uses the POST method and passes in a filter AccreditationAuditHistoryViewCustomer
{
"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.
The id (accreditationId) path parameter is required to perform a search.
https://api-public.nhvr.gov.au/accred/accreditations/{id}/accreditationAuditHistory-customer
Specification
The full accreditation audit history findCustomer API specification is available on the NHVR Developer Platform: AccreditationAuditHistoryController.findCustomer.
The return results schema is provided below for quick reference:
{
"data": [
{
"id": 3,
"accreditationId": 14,
"customerAccountId": 3,
"operationsAccountId": 1,
"dateOfAudit": "2025-03-01T00:00:00.000Z",
"auditType": "Compliance Audit",
"auditResult": "Audit Doesn't Conform",
"auditorName": "deactived Peter Gillard",
"modulesAudited": "Mass Management"
},
{
"id": 12,
"accreditationId": 14,
"customerAccountId": 3,
"operationsAccountId": 1,
"dateOfAudit": null,
"auditType": "Compliance Audit",
"auditResult": "Audit In Progress",
"auditorName": "Aaron Armstrong",
"modulesAudited": "Maintenance Standards, Basic Fatigue Management"
}
],
"count": 2,
"filter": {
"limit": 50,
"skip": 0
},
"views": [
{
"id": 39,
"viewType": "User",
"queryViewUserId": 39,
"name": "Default view",
"description": "Default view automatically created",
"locked": false,
"subFilterId": null,
"columns": null,
"density": null,
"viewMode": null,
"autoSave": false,
"archived": false
}
],
"selectedView": {
"id": 39,
"viewType": "User",
"queryViewUserId": 39,
"name": "Default view",
"description": "Default view automatically created",
"locked": false,
"subFilterId": null,
"columns": null,
"density": null,
"viewMode": null,
"autoSave": false,
"archived": false
}
}
