Test data
The ADC test service has static test data for you to test against the various matching rules available. Refer to the Field definitions page for more information on each column. The production data sets have been replicated in the the test service, refer to https://rbdmqld.atlassian.net/wiki/spaces/ADC/pages/618102785 page for more information.
Note: This is test data only and is not related to real people in any way. This test data is intended to cover most scenarios but is not an exhaustive representation. More test data will be added as new scenarios are required to be verified.
ACR | DB | DD | DDS | REGNUM | REGYEAR | GN | SN | STATE | STATERESIDENCE | STREETRESIDENCE | TOWNRESIDENCE | POSTCODERESIDENCE |
---|---|---|---|---|---|---|---|---|---|---|---|---|
1000000001 | 01/02/1900 | 31/12/2018 |
| 12345 | 2018 | Bilbo | Baggins | QLD | QLD | Bagshot Row | Hobbiton | 4000 |
1000000002 | 29/04/1996 | 30/10/2018 |
| 12344 | 2018 | John Henry | Smith | QLD | QLD | 123 Edward street | Brisbane | 4000 |
1000000003 | 19/10/1995 | 29/04/1996 |
| 12346 | 2018 | Renaé Mary-Jane | Howard | QLD | QLD | 50/123 Hitchen road | Moorooka | 4105 |
1000000004 | 01/12/2010 |
| Between 31/12/2018 and 2/2/2019 | 12348 | 2019 | Mary-Ann Maria | Bibby-Bobbins | QLD | QLD | 2123 Boggin road | Dutton Park | 4122 |
1000000005 | 01/12/2010 | 02/10/2019 |
| 12349 | 2018 | Mary-Jane Robin | Bibby-Bobbins | QLD | QLD | 2123 Boggin road | Dutton Park | 4122 |
1000000006 | 11/12/2011 | 14/03/2018 |
| 12350 | 2018 | Robert | O’Brien | QLD | QLD | Toohey forest nursing home | Annerley | 4121 |
1000000007 | 29/04/1996 | 30/10/2019 |
| 13456 | 2019 | John Henry | Smith | QLD | QLD | 123 Ann street | Brisbane | 4000 |
1000000008 | 04/05/1958 | 28/05/2016 |
| 12345 | 2016 | James | Johnson | QLD | QLD | 16 Brown Street | New Farm | 4005 |
1000000009 | 04/05/1958 | 14/01/2019 |
| 75236 | 2019 | James | Johnson | NSW | NSW | 45 Smith Street | Sydney | 2000 |
1000000010 | 04/05/1958 | 25/11/2020 |
| 4521 | 2020 | James | Johnson | QLD | QLD | 23 Boundary Street | Spring Hill | 4000 |
1000000011 | 04/05/1958 | 05/06/2018 |
| 89652 | 2018 | James Robert | Johnson | VIC | NSW | 858 Jubliee Street | Albury | 2640 |
Example search request
Header | Value |
---|---|
X-Authorization | /kINIJMuM16HnmM8j7szsLCJHzXCluiNGp/npeGkSaU= testclient1:testremote:2020-10-29T15:19:00+1000:{"requestId":"1234","datasource":"FOD","dataset":"ADCEXACTNAMEDOB","remoteUser":"testremote","prehashed":false,"fields":[{"name":"GN","value":"John Henry"},{"name":"SN","value":"Smith"},{"name":"DB","value":"29/04/1996"}]} |
X-UserID | testclient1 |
X-RemoteUserID | testremote |
X-Date | 2020-10-29T15:19:00+1000 |
Request body | {"requestId":"1234","datasource":"FOD","dataset":"ADCEXACTNAMEDOB","remoteUser":"testremote","prehashed":false,"fields":[{"name":"GN","value":"John Henry"},{"name":"SN","value":"Smith"},{"name":"DB","value":"29/04/1996"}]} |
Bulk search request
Bulk searches on the NAMEDOB dataset which has GN, SN and SN as partial:
SOURCE,GN,SN,DB
1234,JOHN HENRY,SMITH,29/04/1996
Using the test key “test” and prehashed as true:
In the above example:
GN of JOHN HENRY is hashed to: l5oqAZ0Tn3i3xf2tfuTkO6zFNck8N/tGjRHFLEe6uZ0=
Partial GN of JOHN is hashed to: NR9aZ6o9ojtp0IlaBvjbRlXfZnS1SrbzRFNh30cywiE=
SN is provided twice as both the exact and partial value: SMITH since this is a single word: h0kfOqk0wpzcm/bPk++HXjqbTzUeGz5wqdurrsh/j2g=
DB of 29/04/1996 is hashed to: uo0i3J9jeXazTCIEd2jSGxiyHQsOPBup8pSYWBSC+jY=
Partial of DB converted to 01/01/1996 is hashed to: jZ+6Ii1L4mUq6LNihsnu74nvQyD6AgY7iXiePaPR7Vc=
All matching fields must be hashed when providing prehashed as true. The values must undergo the same transformation as described in https://rbdmqld.atlassian.net/wiki/spaces/ADC/pages/601554968/Data+matching#How-ADC-matches-records prior to hashing the values.
Ensure that any partial fields are provided twice where one is the hash of the original full value and the other is the partial value under the % suffixed field. e.g. GN and GN%.