Validate with the AEC
/api/v2/dvs/aec
operationId: dvs.aec
Live: https://gdapi.globaldata.net.au/api/v2/dvs/aec · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/dvs/aec
Validates a name, birthdate and address against the Australian Document Verification Service (DVS) using the Australian Electoral Commission.
Sandbox environment
When simulating queries in the sandbox environment, a specific set of details will return a specific result. The response will be determined by the suburb:
Request body
Content type application/json.
The name, address and birthdate to validate
| Field | Description |
|---|---|
preflight |
boolean When set to true, the request will only perform a preflight check to validate the input parameters. No actual verification will be performed. |
consent |
boolean The individual's consent to perform the check |
oac |
string [4..20 characters] or null The DVS Identity (Originating Agency Code) to run the check under. You only need this if Global Data has set up additional DVS Identities on your account, for example because you submit checks on behalf of other organisations. If you leave it out, your account's own DVS Identity is used. If you send it, it must be your account's own DVS Identity or one of its additional identities. Any other value is rejected. In the sandbox you can also use the sample identities |
first_name |
string The first name of the individual |
last_name |
string The last name of the individual |
birth_date |
string (date) The date of birth of the individual |
state |
string The Australian state of the individual's address |
postcode |
string The postcode of the individual's address |
suburb |
string The suburb of the individual's address |
street_address |
string The street address of the individual. Cannot be used in conjunction with street_number, street_name, street_type and flat_unit_number. |
street_number |
string The street number of the individual's address |
street_name |
string The street name of the individual's address |
street_type |
string The street type of the individual's address |
flat_unit_number |
string The flat or unit number of the individual's address |
habitation_building_name |
string The building name of the individual's address |
Responses
Result of the document verification check
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request. This will be |
function |
string The function that was called |
api_reference |
string (uuid) A unique identifier for this request. This can be used to track the request in the logs. |
data |
object The check data |
data. |
string The type of response |
data. |
string A reference ID for this activity. This ID can be used to track the activity in the logs. |
data. |
string A unique reference number for this request |
data. |
string The result of the verification
|
data. |
array of objects An array of expanded responses returned from the DVSHub or Document Issuer for N or D results |
data. |
string A message indicating the reason for the N or D result. |
data. |
string A code number associated with the corresponding message. |
A successful preflight check. A 400 will be returned if the preflight check fails.
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request. This will be |
function |
string The function that was called |
api_reference |
string (uuid) A unique identifier for this request. This can be used to track the request in the logs. |
data |
null For preflight checks this is null |