Method:
DataTools.Verify.Address.AuPaf.VerifyAddressBureau
Same as the standard VerifyAddress method with the additional payment of Australia Post bureau royalty. Please note additional reporting is also required when processing bureau transactions.
Test:
Input Parameters:
Output Fields:
Field | Description |
DPID | Australia Post Delivery Point Identifier |
BuildingName | Building Name eg Sydney Square |
AddressLine | Address Line eg. 'Level 5 200 Smith St' |
Locality | Locality, Suburb or Town |
State | State eg. NSW, VIC |
Postcode | Postcode |
AddressBlockLine1 | Address Line 1 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
AddressBlockLine2 | Address Line 2 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
AddressBlockLine3 | Address Line 3 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
AddressBlockLine4 | Address Line 4 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
AddressBlockLine5 | Address Line 5 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
AddressBlockLine6 | Address Line 6 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
AddressBlockLine7 | Address Line 7 of address block, use AddressBlockLine1 to 7 as an alternative to AddressLine, Locality, State and Postcode |
MatchType | Returns a number that is the match type code for why an address didn't match [Option Values] |
MatchTypeDescription | A meaningful description for why an address didn't match |
FieldChanges | Codes representing the address components that were updated [Option Values] |
AustraliaPostBarcode | Australia Post Barcode |
AustraliaPostBarcodeSortPlan | Australia Post Barcode Sort Plan |
UnitType | Unit Type |
UnitNumber | Unit Number |
LevelType | Level Type |
LevelNumber | Level Number |
LotNumber | Lot Number |
StreetNumber1 | Street Number 1 |
StreetNumberSuffix1 | Street Number Suffix 1 |
StreetNumber2 | Street Number 2 |
StreetNumberSuffix2 | Street Number Suffix 2 |
PostBoxNumber | Post Box Number |
PostBoxNumberPrefix | Post Box Number Prefix |
PostBoxNumberSuffix | Post Box Number Suffix |
StreetName | Street Name |
StreetType | Street Type |
StreetSuffix | Street Suffix |
PostBoxType | Post Box Type |
AltStreetName | Alternate Street Name. A street alternate is an alternative name for a street which is used for only part of that street. This might occur as a main road runs through a suburb or as a highway runs through a town. ATN is returned in FieldChanges to indicate that the address returned is a street alternate rather than the strict PAF street name. |
AltStreetType | Alternate Street Type |
AltStreetSuffix | Alternate Street Suffix |
AltLocality | Alternate Locality. Australia Post provides a list of acceptable bordering localities for various suburbs throughout Australia. This will allow for more matches to be made on streets which are located on the boundaries of suburbs and are often represented as being over the border from their gazetted location. BOR is returned in FieldChanges to indicate that the address returned is a bordering locality rather than the strict PAF street name. |
AltState | Alternate State |
AltPostcode | Alternate Postcode |
UnknownData | Contains data that the parser could not allocate to an address field. |
Supported Web Service API Interfaces:
Web Service Method: ProcessQueryStringRequest (REST with QueryString)
Request Format: Url QueryString, Body (x-www-form-urlencoded),
Response Formats: JSON, XML*,
Protocols: HTTP GET, HTTPS GET, HTTP POST, HTTPS POST, HTTP OPTIONS, HTTPS OPTIONS
Example Server Path: https://customname.datatoolscloud.net.au/KleberWebService/DtKleberService.svc
Sample QueryString Request:
/ProcessQueryStringRequest?Method=DataTools.Verify.Address.AuPaf.VerifyAddressBureau&AddressLine1=&AddressLine2=&AddressLine3=&AddressLine4=&AddressLine5=&AddressLine6=&Locality=&State=&Postcode=&RequestId=&RequestKey=&DepartmentCode=
Sample JSON Response:
{
"DtResponse":{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DPID":"",
"BuildingName":"",
"AddressLine":"",
"Locality":"",
"State":"",
"Postcode":"",
"AddressBlockLine1":"",
"AddressBlockLine2":"",
"AddressBlockLine3":"",
"AddressBlockLine4":"",
"AddressBlockLine5":"",
"AddressBlockLine6":"",
"AddressBlockLine7":"",
"MatchType":"",
"MatchTypeDescription":"",
"FieldChanges":"",
"AustraliaPostBarcode":"",
"AustraliaPostBarcodeSortPlan":"",
"UnitType":"",
"UnitNumber":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"PostBoxNumber":"",
"PostBoxNumberPrefix":"",
"PostBoxNumberSuffix":"",
"StreetName":"",
"StreetType":"",
"StreetSuffix":"",
"PostBoxType":"",
"AltStreetName":"",
"AltStreetType":"",
"AltStreetSuffix":"",
"AltLocality":"",
"AltState":"",
"AltPostcode":"",
"UnknownData":""
}
]
}
}
Web Service Method: ProcessQueryJsonRequest (REST with JSON)
Request Format: Body (Raw JSON),
Response Formats: JSON, XML*,
Protocols: HTTP GET, HTTPS GET, HTTP POST, HTTPS POST, HTTP OPTIONS, HTTPS OPTIONS
Example Server Path: https://customname.datatoolscloud.net.au/KleberWebService/DtKleberService.svc
Single Request
Sample JSON Request:
{
"DtRequest":{
"Method":"DataTools.Verify.Address.AuPaf.VerifyAddressBureau",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"AddressLine6":"",
"Locality":"",
"State":"",
"Postcode":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
}
}
Sample JSON Response:
{
"DtResponse":{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DPID":"",
"BuildingName":"",
"AddressLine":"",
"Locality":"",
"State":"",
"Postcode":"",
"AddressBlockLine1":"",
"AddressBlockLine2":"",
"AddressBlockLine3":"",
"AddressBlockLine4":"",
"AddressBlockLine5":"",
"AddressBlockLine6":"",
"AddressBlockLine7":"",
"MatchType":"",
"MatchTypeDescription":"",
"FieldChanges":"",
"AustraliaPostBarcode":"",
"AustraliaPostBarcodeSortPlan":"",
"UnitType":"",
"UnitNumber":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"PostBoxNumber":"",
"PostBoxNumberPrefix":"",
"PostBoxNumberSuffix":"",
"StreetName":"",
"StreetType":"",
"StreetSuffix":"",
"PostBoxType":"",
"AltStreetName":"",
"AltStreetType":"",
"AltStreetSuffix":"",
"AltLocality":"",
"AltState":"",
"AltPostcode":"",
"UnknownData":""
}
]
}
}
Multiple Requests
Sample JSON Request:
{
"DtRequests":{
"DtRequest":[
{
"Method":"DataTools.Verify.Address.AuPaf.VerifyAddressBureau",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"AddressLine6":"",
"Locality":"",
"State":"",
"Postcode":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
},
{
"Method":"DataTools.Verify.Address.AuPaf.VerifyAddressBureau",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"AddressLine6":"",
"Locality":"",
"State":"",
"Postcode":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
}
]
}
}
Sample JSON Response:
{
"DtResponses":{
"ErrorMessage":"",
"DtResponse":[
{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DPID":"",
"BuildingName":"",
"AddressLine":"",
"Locality":"",
"State":"",
"Postcode":"",
"AddressBlockLine1":"",
"AddressBlockLine2":"",
"AddressBlockLine3":"",
"AddressBlockLine4":"",
"AddressBlockLine5":"",
"AddressBlockLine6":"",
"AddressBlockLine7":"",
"MatchType":"",
"MatchTypeDescription":"",
"FieldChanges":"",
"AustraliaPostBarcode":"",
"AustraliaPostBarcodeSortPlan":"",
"UnitType":"",
"UnitNumber":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"PostBoxNumber":"",
"PostBoxNumberPrefix":"",
"PostBoxNumberSuffix":"",
"StreetName":"",
"StreetType":"",
"StreetSuffix":"",
"PostBoxType":"",
"AltStreetName":"",
"AltStreetType":"",
"AltStreetSuffix":"",
"AltLocality":"",
"AltState":"",
"AltPostcode":"",
"UnknownData":""
}
]
},
{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DPID":"",
"BuildingName":"",
"AddressLine":"",
"Locality":"",
"State":"",
"Postcode":"",
"AddressBlockLine1":"",
"AddressBlockLine2":"",
"AddressBlockLine3":"",
"AddressBlockLine4":"",
"AddressBlockLine5":"",
"AddressBlockLine6":"",
"AddressBlockLine7":"",
"MatchType":"",
"MatchTypeDescription":"",
"FieldChanges":"",
"AustraliaPostBarcode":"",
"AustraliaPostBarcodeSortPlan":"",
"UnitType":"",
"UnitNumber":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"PostBoxNumber":"",
"PostBoxNumberPrefix":"",
"PostBoxNumberSuffix":"",
"StreetName":"",
"StreetType":"",
"StreetSuffix":"",
"PostBoxType":"",
"AltStreetName":"",
"AltStreetType":"",
"AltStreetSuffix":"",
"AltLocality":"",
"AltState":"",
"AltPostcode":"",
"UnknownData":""
}
]
}
]
}
}
Web Service Method: ProcessQueryXmlRequest (REST with XML)
Request Format: Body (Raw XML),
Response Formats: JSON, XML*,
Protocols: HTTP GET, HTTPS GET, HTTP POST, HTTPS POST, HTTP OPTIONS, HTTPS OPTIONS
Example Server Path: https://customname.datatoolscloud.net.au/KleberWebService/DtKleberService.svc
Single Request
Sample XML Request:
<DtRequest Method="DataTools.Verify.Address.AuPaf.VerifyAddressBureau" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" Locality="" State="" Postcode="" RequestId="" RequestKey="" DepartmentCode="" />
Sample XML Response:
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result DPID="" BuildingName="" AddressLine="" Locality="" State="" Postcode="" AddressBlockLine1="" AddressBlockLine2="" AddressBlockLine3="" AddressBlockLine4="" AddressBlockLine5="" AddressBlockLine6="" AddressBlockLine7="" MatchType="" MatchTypeDescription="" FieldChanges="" AustraliaPostBarcode="" AustraliaPostBarcodeSortPlan="" UnitType="" UnitNumber="" LevelType="" LevelNumber="" LotNumber="" StreetNumber1="" StreetNumberSuffix1="" StreetNumber2="" StreetNumberSuffix2="" PostBoxNumber="" PostBoxNumberPrefix="" PostBoxNumberSuffix="" StreetName="" StreetType="" StreetSuffix="" PostBoxType="" AltStreetName="" AltStreetType="" AltStreetSuffix="" AltLocality="" AltState="" AltPostcode="" UnknownData="" />
</DtResponse>
Multiple Requests
Sample XML Request:
<DtRequests>
<DtRequest Method="DataTools.Verify.Address.AuPaf.VerifyAddressBureau" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" Locality="" State="" Postcode="" RequestId="" RequestKey="" DepartmentCode="" />
<DtRequest Method="DataTools.Verify.Address.AuPaf.VerifyAddressBureau" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" Locality="" State="" Postcode="" RequestId="" RequestKey="" DepartmentCode="" />
</DtRequests>
Sample XML Response:
<DtResponses ErrorMessage="">
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result DPID="" BuildingName="" AddressLine="" Locality="" State="" Postcode="" AddressBlockLine1="" AddressBlockLine2="" AddressBlockLine3="" AddressBlockLine4="" AddressBlockLine5="" AddressBlockLine6="" AddressBlockLine7="" MatchType="" MatchTypeDescription="" FieldChanges="" AustraliaPostBarcode="" AustraliaPostBarcodeSortPlan="" UnitType="" UnitNumber="" LevelType="" LevelNumber="" LotNumber="" StreetNumber1="" StreetNumberSuffix1="" StreetNumber2="" StreetNumberSuffix2="" PostBoxNumber="" PostBoxNumberPrefix="" PostBoxNumberSuffix="" StreetName="" StreetType="" StreetSuffix="" PostBoxType="" AltStreetName="" AltStreetType="" AltStreetSuffix="" AltLocality="" AltState="" AltPostcode="" UnknownData="" />
</DtResponse>
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result DPID="" BuildingName="" AddressLine="" Locality="" State="" Postcode="" AddressBlockLine1="" AddressBlockLine2="" AddressBlockLine3="" AddressBlockLine4="" AddressBlockLine5="" AddressBlockLine6="" AddressBlockLine7="" MatchType="" MatchTypeDescription="" FieldChanges="" AustraliaPostBarcode="" AustraliaPostBarcodeSortPlan="" UnitType="" UnitNumber="" LevelType="" LevelNumber="" LotNumber="" StreetNumber1="" StreetNumberSuffix1="" StreetNumber2="" StreetNumberSuffix2="" PostBoxNumber="" PostBoxNumberPrefix="" PostBoxNumberSuffix="" StreetName="" StreetType="" StreetSuffix="" PostBoxType="" AltStreetName="" AltStreetType="" AltStreetSuffix="" AltLocality="" AltState="" AltPostcode="" UnknownData="" />
</DtResponse>
</DtResponses>
* Add the additional input parameter "OutputFormat=json" or "OutputFormat=xml" to change the response format from default.
* Add the additional input parameter "callback" to convert JSON responses to JSONP responses for across domains support.
CORS header included where callback is not defined.
Please Note:
Ensure you thoroughly test all the methods you are using and are happy with the results before going into production. DataTools is charged by the data suppliers for use of every method – therefore
ALL calls to any method will incur a COST. When you register DataTools provides you with free credit to help with development and trialling of the service. Once that credit is used you will need to purchase a monthly subscription and/or top up to continue using the service, even for development purposes. Please check the Method Pricing List for all current costs. DataTools does not warrant or guarantee the quality of the results returned and will not be held responsible for any costs incurred by using a method. Should you have any questions please contact your Sales representative or the Client Services team.