Blue Flag NEVDIS API Quick Start Guide

 

The Blue Flag NEVDIS API service is designed to provide an easy method of obtaining the NEVDIS data.

The Blue Flag NEVDIS service is a GraphQL API, please see http://graphql.org/ for general info.

For a list of information that can be requested, please read the information on Introspection http://graphql.org/learn/introspection/

 

You can make requests over HTTPS using the following details

Method: POST
URL: https://ubuxgyols2.execute-api.ap-southeast-2.amazonaws.com/prod/
Header:
Authorization:
JWT [THISISTHEAUTHORISATIONKEYWEPROVIDE]
Body: "{"query":"YOUR QUERY GOES HERE"}"

 

 

Sample Query to find vin detail, make & model for a plate and state:

{
  nevdisPlateSearch_v2(plate: "XXXXXXXXXXXXXXXX", state:NSW) {
    vin
    plate {
      number
      state
    }
    make
    model
    engine_number
    vehicle_type
    body_type
    colour
  }
}
 

Sample Query to find plate detail, make & model for a vin:

query {
  nevdisVINSearch_v2(vin: "XXXXXXXXXXXXXXXX") {
    vin
    plate {
      number
      state
    }
    make
    model
    engine_number
    vehicle_type
    body_type
    colour
  }
}

**NOTE** The above query string must be included in the body's json.
eg. "{"query":"query {\n  nevdisVINSearch(vin: \"XXXXXXXXXXXXXXXX\") {\n    vin\n    plate {\n      number\n      state\n    }\n    make\n    model\n  }\n}"}"


Response:
{
  "data": {
    "nevdisVINSearch_v2": {
      "vin": "XXXXXXXXXXXXXXXX",
      "plate": {
        "number": "ABC123",
        "state": "VIC"
      },
      "make": "HOLDEN",
      "model": "COMMOD"
    }
  }
}

 

To see all the query types and available resolvers, use the GraphQl introspection, for information on the introspection, please refer to this link:

http://graphql.org/learn/introspection/

During your testing and development, if you query using 17 X’s, you will receive a sample response which is free of charge.