AddressAu | Australian Address. |
AddressNz | New Zealand Address. |
ValidatedAddressAu | An Australian address for validation. |
ValidatedAddressNz | A New Zealand address for validation. |
AddressIntl | International Address. |
AddressIntlV2 | International Address with non-null attributes only -
for find method. |
AddressList | Address container. |
AddressRestRequest | Request wrapper for address REST methods. |
AddressRestResponse | Response wrapper for address REST methods. |
FeatureOption | Options applied for each request. |
The AddressAu object is used when sending and receiving data from the address lookup API methods. For receiving data validated using Australian Sources of Truth (SoTs), see ValidatedAddressAu object.
For example, sample attributes returned from "AUPAF" are shown below:
{"Barcode":"1301012101021000002110322210012201313","Bsp":"015","DPID":"71230073"}
Sample attributes returned from "GNAF" are shown below:
{"GNAFConfidence":"0","ParcelID":"1//DP75111","GNAFPointPID":"GANSW718616256",
"MeshblockId":"10743811000","Latitude":"-33.86307089",
"GNAFPID":"GANSW718616256","Longitude":"151.20781474",
"GNAFReliability":"2","GNAFLocalityPID":"NSW3749",
"GNAFGroupPID":"NSW2845405","GeocodeLevel":"7"}
Sample attributes are shown below, if "GNAF Plus" is active:
{"GNAFConfidence": "0","ParcelID": "CANB/BRAD/7/9/","GNAFPointPID": "GAACT718021569",
"MeshblockId": "80003983000","Latitude": "-35.26134209",
"GNAFPID": "GAACT718021569","Longitude": "149.13239137",
"GNAFReliability": "2","GNAFLocalityPID": "ACT106",
"GNAFGroupPID": "ACT346","GeocodeLevel": "7",
"GNAFPIDPosition": "DOORSTOP","area_sqkm": "0.0468",
"state_name": "AUSTRALIAN CAPITAL TERRITORY","state_code": "8",
"lga_name": "UNINCORPORATED ACT","lga_code": "89399",
"gcc_sa_name": "AUSTRALIAN CAPITAL TERRITORY","gcc_sa_code": "8ACTE",
"ced_name": "FENNER","ced_code": "802",
"sed_name": "KURRAJONG","sed_code": "80003",
"sa1_code_7d": "8105118","sa1_code_main": "80105105118",
"sa2_name": "BRADDON","sa2_code_main": "801051051","sa2_code_5d": "81051",
"sa3_name": "NORTH CANBERRA","sa3_code": "80105",
"sa4_name": "AUSTRALIAN CAPITAL TERRITORY","sa4_code": "801"}
{ "_type": "AddressAu", "eid": "fGBUVVdCntAu6wgNVcv0ePuSac7kAbUP", "fullAddress": "L 2 SE 202 220 GEORGE ST, SYDNEY NSW 2000", "country": null, "state": "NSW", "postcode": "2000", "locality": "SYDNEY", "street": "GEORGE ST", "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "220", "streetName": "GEORGE", "streetType": "ST", "streetSuffix": "", "buildingName": "", "subdwelling": "L 2 SE 202", "flatUnitNumber": "202", "flatUnitType": "SE", "floorLevelNumber": "2", "floorLevelType": "L", "lotNumber": "", "attributes": { "Barcode": "1301012101021000002110322210012201313", "Bsp": "015", "DPID": "12345678" } }
The AddressNz object is used when sending and receiving data from the address lookup API methods. For receiving data validated using New Zealand Sources of Truth (SoTs), see ValidatedAddressNz object.
For example, sample attributes returned from "NZPAF" are shown below:
{"ParcelId":"3996917","XCoordinate":"2658827",
"MeshblockId":"2127500","YCoordinate":"5989553",
"Latitude":"-41.287171091075614","Longitude":"174.7770385563209"}
{ "_type": "AddressNz", "eid": "DmQYwqF0wjGOgn2XZYMJbvLPHFLYXJEu", "fullAddress": "25 PANAMA STREET, WELLINGTON CENTRAL, WELLINGTON 6011", "country": null, "postcode": "6011", "townCity": "WELLINGTON", "suburb": "WELLINGTON CENTRAL", "street": "PANAMA STREET", "street2": null, "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "25", "streetName": "PANAMA", "streetType": "STREET", "streetSuffix": "", "buildingName": "", "subdwelling": "", "flatUnitNumber": "", "flatUnitType": "", "floorLevelNumber": "", "floorLevelType": "", "lotNumber": "", "rdNumber": null, "attributes": { "Latitude": "-41.284123", "Longitude": "174.776194", "MeshblockId": "2125700", "ParcelId": "4032109", "XCoordinate": "2658764", "XNztm": "1748740.49107", "YCoordinate": "5989893", "YNztm": "5428180.430423" } }
The ValidatedAddressAu object is used when sending and receiving data from the address identify API methods using Australian Sources of Truth (SoTs).
For example, sample attributes returned from "AUPAF" are shown below:
{"Barcode":"1301012101021000002110322210012201313","Bsp":"015","DPID":"71230073"}
Sample attributes returned from "GNAF" are shown below:
{"GNAFConfidence":"0","ParcelID":"1//DP75111","GNAFPointPID":"GANSW718616256",
"MeshblockId":"10743811000","Latitude":"-33.86307089",
"GNAFPID":"GANSW718616256","Longitude":"151.20781474",
"GNAFReliability":"2","GNAFLocalityPID":"NSW3749",
"GNAFGroupPID":"NSW2845405","GeocodeLevel":"7"}
Sample attributes are shown below, if "GNAF Plus" is active:
{"GNAFConfidence": "0","ParcelID": "CANB/BRAD/7/9/","GNAFPointPID": "GAACT718021569",
"MeshblockId": "80003983000","Latitude": "-35.26134209",
"GNAFPID": "GAACT718021569","Longitude": "149.13239137",
"GNAFReliability": "2","GNAFLocalityPID": "ACT106",
"GNAFGroupPID": "ACT346","GeocodeLevel": "7",
"GNAFPIDPosition": "DOORSTOP","area_sqkm": "0.0468",
"state_name": "AUSTRALIAN CAPITAL TERRITORY","state_code": "8",
"lga_name": "UNINCORPORATED ACT","lga_code": "89399",
"gcc_sa_name": "AUSTRALIAN CAPITAL TERRITORY","gcc_sa_code": "8ACTE",
"ced_name": "FENNER","ced_code": "802",
"sed_name": "KURRAJONG","sed_code": "80003",
"sa1_code_7d": "8105118","sa1_code_main": "80105105118",
"sa2_name": "BRADDON","sa2_code_main": "801051051","sa2_code_5d": "81051",
"sa3_name": "NORTH CANBERRA","sa3_code": "80105",
"sa4_name": "AUSTRALIAN CAPITAL TERRITORY","sa4_code": "801"}
{ "_type": "ValidatedAddressAu", "fullAddress": "L 2 SE 202 220 GEORGE ST, SYDNEY NSW 2000", "country": null, "postcode": "2000", "eid": "fGBUVVdCntAu6wgNVcv0ePuSac7kAbUP", "exception": null, "state": "NSW", "locality": "SYDNEY", "street": "GEORGE ST", "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "220", "streetName": "GEORGE", "streetType": "ST", "streetSuffix": "", "buildingName": "", "subdwelling": "L 2 SE 202", "flatUnitNumber": "202", "flatUnitType": "SE", "floorLevelNumber": "2", "floorLevelType": "L", "lotNumber": "", "attributes": { "Barcode": "1301012101021000002110322210012201313", "Bsp": "015", "DPID": "12345678" }, "id": "12345678" }
The ValidatedAddressNz object is used when sending and receiving data from the address identify API methods using New Zealand Sources of Truth (SoTs).
For example, sample attributes returned from "NZPAF" are shown below:
{"ParcelId":"3996917","XCoordinate":"2658827",
"MeshblockId":"2127500","YCoordinate":"5989553",
"Latitude":"-41.287171091075614","Longitude":"174.7770385563209"}
{ "_type": "ValidatedAddressNz", "eid": "DmQYwqF0wjGOgn2XZYMJbvLPHFLYXJEu", "exception": null, "id": "123456", "fullAddress": "25 PANAMA STREET, WELLINGTON CENTRAL, WELLINGTON 6011", "country": null, "postcode": "6011", "townCity": "WELLINGTON", "suburb": "WELLINGTON CENTRAL", "street": "PANAMA STREET", "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "25", "streetName": "PANAMA", "streetType": "STREET", "streetSuffix": "", "buildingName": "", "subdwelling": "", "flatUnitNumber": "", "flatUnitType": "", "floorLevelNumber": "", "floorLevelType": "", "lotNumber": "", "rdNumber": null, "attributes": { "Latitude": "-41.284123", "Longitude": "174.776194", "MeshblockId": "2125700", "ParcelId": "4032109", "XCoordinate": "2658764", "XNztm": "1748740.49107", "YCoordinate": "5989893", "YNztm": "5428180.430423" } }
The AddressIntl object is used when receiving data from
retrieve API method for
non-Australia and New Zealand addresses. It is also used when sending and receiving data from the previous version of
International address lookup find
and retrieve
API methods.
For example:
{"CountryIso2":"US","CountryIso3":"USA","DomesticId":"Z216947437","DataLevel":"Range","ProvinceName":"California",
"Type":"Residential","Language":"ENG","LanguageAlternatives":"ENG","AdminAreaCode":"081",
"ProvinceCode":"CA","CountryIsoNumber":"840","Line1":"805 Veterans Blvd Ste 305","AdminAreaName":"San Mateo"}
{ "_type": "AddressIntl", "fullAddress": "805 Veterans Blvd Ste 305, REDWOOD CITY CA 94063-1737, UNITED STATES", "country": "United States", "postcode": "94063-1737", "street2": "", "street": "Veterans Blvd", "streetNumber": "805", "postal": "", "postalType": "", "postalNumber": null, "buildingName": "", "subdwelling": "Ste 305", "attributes": { "CountryIso2": "US", "CountryIso3": "USA", "DomesticId": "Z216947437", "DataLevel": "Range", "ProvinceName": "California", "Type": "Residential", "Language": "ENG", "LanguageAlternatives": "ENG", "AdminAreaCode": "081", "ProvinceCode": "CA", "CountryIsoNumber": "840", "Line1": "805 Veterans Blvd Ste 305", "AdminAreaName": "San Mateo" }, "id": "US|US|B|Z216947437|305", "district": "", "city": "Redwood City", "province": "CA" }
The AddressIntlV2 object is an AddressIntl with only non-null
attributes are returned. It is used for receiving data from find
API method, for all countries including Australia and New Zealand.
Address Type
and 'GB|RM|ENG|MANCHESTER---WAY-MANCUNIAN-ESTATE-BOND_STREET_INDUSTRIAL' for
Street Type
), for Australia with GNAF Source of Truth 'AU|GNAF|GANSW717802735' for Address Type
.
{"Type": "Address"}
for Address Type{"Type": "Street", "subdwellings": "Manchester, M12 6HW - 2 Addresses"}
for non-Address Type for non-Australia/New Zealand{"Type": "Floor", "subdwellings": "4 Addresses"}
for non-Address Type for Australia/New ZealandFor Australia addresses with GNAF Source of Truth:
{ "_type": "AddressIntlV2", "fullAddress": "20 Bond Street, Sydney NSW 2000", "attributes": { "Type": "BuildingNumber", "subdwellings": "45 Addresses" }, "id": "AU|GNAF|GANSW710271307" }, { "_type": "AddressIntlV2", "fullAddress": "20 Bond Street, Oran Park NSW 2570", "attributes": { "Type": "Address" }, "id": "AU|GNAF|GANSW718237492" }
For United Kingdom addresses:
{ "_type": "AddressIntlV2", "fullAddress": "Bond Street, 17A, High Street Tenterden, TN30 6BN", "attributes": { "Type": "Address" }, "id": "GB|RM|A|24769972" }, { "_type": "AddressIntlV2", "fullAddress": "Bond Street Industrial Estate Mancunian Way", "attributes": { "Type": "Street", "subdwellings": "Manchester, M12 6HW - 2 Addresses" }, "id": "GB|RM|ENG|MANCHESTER---WAY-MANCUNIAN-ESTATE-BOND_STREET_INDUSTRIAL" }
An array or list of Address (AddressAu or AddressNz) structures.
[ { "_type": "ValidatedAddressAu", "eid": "DmQYwqF0wjGOgn2XZYMJbvLPHFLYXJEu", "exception": null, "id": "123456", "fullAddress": "25 PANAMA STREET, WELLINGTON CENTRAL, WELLINGTON 6011", "country": null, "postcode": "6011", "townCity": "WELLINGTON", "suburb": "WELLINGTON CENTRAL", "street": "PANAMA STREET", "street2": null, "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "25", "streetName": "PANAMA", "streetType": "STREET", "streetSuffix": "", "buildingName": "", "subdwelling": "", "flatUnitNumber": "", "flatUnitType": "", "floorLevelNumber": "", "floorLevelType": "", "lotNumber": "", "rdNumber": null, "attributes": { "Latitude": "-41.284123", "Longitude": "174.776194", "MeshblockId": "2125700", "ParcelId": "4032109", "XCoordinate": "2658764", "XNztm": "1748740.49107", "YCoordinate": "5989893", "YNztm": "5428180.430423" } }, { "_type": "ValidatedAddressAu", "eid": "fGBUVVdCntAu6wgNVcv0ePuSac7kAbUP", "exception": null, "fullAddress": "L 2 SE 202 220 GEORGE ST, SYDNEY NSW 2000", "country": null, "state": "NSW", "postcode": "2000", "locality": "SYDNEY", "street": "GEORGE ST", "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "220", "streetName": "GEORGE", "streetType": "ST", "streetSuffix": "", "buildingName": "", "subdwelling": "L 2 SE 202", "flatUnitNumber": "202", "flatUnitType": "SE", "floorLevelNumber": "2", "floorLevelType": "L", "lotNumber": "", "attributes": { "Barcode": "1301012101021000002110322210012201313", "Bsp": "015", "DPID": "12345678" }, "id": "12345678" } ]
An AddressRestRequest object is used when invoking the Harmony RightAddress address lookup REST service methods.
{ "payload": [ { "locality": "SYDNEY" } ], "sourceOfTruth": "GNAF", "featureOptions": { "positionFilter": "postal" } }
An AddressRestResponse object is returned from the Harmony RightAddress address lookup REST service method invocations.
{ "status": "SUCCESS", "messages": [], "payload": [ { "_type": "AddressAu", "fullAddress": "SYDNEY NSW 2000", "country": null, "state": "NSW", "postcode": "2000", "locality": "SYDNEY", "street": "", "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "", "streetName": "", "streetType": "", "streetSuffix": "", "buildingName": "", "subdwelling": "", "flatUnitNumber": "", "flatUnitType": "", "floorLevelNumber": "", "floorLevelType": "", "lotNumber": "" }, { "_type": "AddressAu", "fullAddress": "SYDNEY OLYMPIC PARK NSW 2127", "country": null, "state": "NSW", "postcode": "2127", "locality": "SYDNEY OLYMPIC PARK", "street": "", "postal": "", "postalNumber": "", "postalType": "", "streetNumber": "", "streetName": "", "streetType": "", "streetSuffix": "", "buildingName": "", "subdwelling": "", "flatUnitNumber": "", "flatUnitType": "", "floorLevelNumber": "", "floorLevelType": "", "lotNumber": "" } ] }
A FeatureOption object is used to supply option values when invoking the Harmony RightAddress address lookup REST service methods.
The positionFilter option has two types of filters: Point filters (when a specific address is retrieved) and Locality filters (where a locality-level address is retrieved).
Point filters are used for the following methods:
The option values available for Point filters are:
Locality filters are used for the following methods:
The option values available for Locality filters are:
The addressTypeFilter option is to filter the result based on the type of delivery point in NZPAF and NZAD. It is used for find and address method for NZPAF and NZAD Source of Truth.
The option values available for Address Type filters are:
There is an option to exclude Address Types by using "-" followed by the Address Type value to be excluded.
For example { "addressTypeFilter": "-urban, -rural" }
to exclude "URBAN" and "RURAL" addresses from the result.
This option can be used for retrieve method, Address lookup methods, and Address cleanse Methods.
state
,
locality
, or postcode
in addition to fullAddress
.
The default value is "1" which means it strictly limits the results in the response to the requested values
for field such as state, locality or postcode. When this option is set to "0", it prioritizes
the reseults with requested values in the response but it still includes other search results.
{ "displayGnafLot": 1, "singleLineHitNumber": 30, "displayTrueLocality": 1, "positionFilter": "postal,doorstop,rooftop,single", "addressTypeFilter": "urban,box,bag,rural,counter,cmb urban,cmb rural", "caseType": "TITLE", "exposeAttributes": "1", "exposePhantom": "0", "baseSource": "AUPAF", "standardizeSource": "GNAF", "splitNzFloorLevel": 1, "groupAddresses": "1", "radius": 100, "prioritizedSort": 1, "exposeChanges": 1 }