Method:
DataTools.Parse.Address.Au.Parse
Use to parse Australian Addresses
Test:
Input Parameters:
Output Fields:
Field | Description |
StatusCode | Returns a code that indicates the success of the parser's result. [Option Values] |
StatusDescription | Returns a description of the parser's result. |
BuildingName | Building Name |
LevelType | Level Type |
LevelNumber | Level Number |
LotNumber | Lot Number |
UnitType | Unit Type |
UnitNumber | Unit Number |
UnitNumberSuffix | Unit Number Suffix |
StreetNumber1 | Street Number 1 |
StreetNumberSuffix1 | Street Number Suffix 1 |
StreetNumber2 | Street Number 2 |
StreetNumberSuffix2 | Street Number Suffix 2 |
StreetName | Street Name |
StreetType | Street Type |
StreetTypeSuffix | Street Type Suffix |
PostBoxType | Post Box Type |
PostBoxNumberPrefix | Post Box Number Prefix |
PostBoxNumber | Post Box Number |
PostBoxNumberSuffix | Post Box Number Suffix |
Locality | Locality |
State | State |
Postcode | Postcode |
OtherData | Other Data |
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.Parse.Address.Au.Parse&AddressLine1=&AddressLine2=&AddressLine3=&AddressLine4=&AddressLine5=&AddressLine6=&RequestId=&RequestKey=&DepartmentCode=
Sample JSON Response:
{
"DtResponse":{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"StatusCode":"",
"StatusDescription":"",
"BuildingName":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"UnitType":"",
"UnitNumber":"",
"UnitNumberSuffix":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"StreetName":"",
"StreetType":"",
"StreetTypeSuffix":"",
"PostBoxType":"",
"PostBoxNumberPrefix":"",
"PostBoxNumber":"",
"PostBoxNumberSuffix":"",
"Locality":"",
"State":"",
"Postcode":"",
"OtherData":""
}
]
}
}
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.Parse.Address.Au.Parse",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"AddressLine6":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
}
}
Sample JSON Response:
{
"DtResponse":{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"StatusCode":"",
"StatusDescription":"",
"BuildingName":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"UnitType":"",
"UnitNumber":"",
"UnitNumberSuffix":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"StreetName":"",
"StreetType":"",
"StreetTypeSuffix":"",
"PostBoxType":"",
"PostBoxNumberPrefix":"",
"PostBoxNumber":"",
"PostBoxNumberSuffix":"",
"Locality":"",
"State":"",
"Postcode":"",
"OtherData":""
}
]
}
}
Multiple Requests
Sample JSON Request:
{
"DtRequests":{
"DtRequest":[
{
"Method":"DataTools.Parse.Address.Au.Parse",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"AddressLine6":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
},
{
"Method":"DataTools.Parse.Address.Au.Parse",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"AddressLine6":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
}
]
}
}
Sample JSON Response:
{
"DtResponses":{
"ErrorMessage":"",
"DtResponse":[
{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"StatusCode":"",
"StatusDescription":"",
"BuildingName":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"UnitType":"",
"UnitNumber":"",
"UnitNumberSuffix":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"StreetName":"",
"StreetType":"",
"StreetTypeSuffix":"",
"PostBoxType":"",
"PostBoxNumberPrefix":"",
"PostBoxNumber":"",
"PostBoxNumberSuffix":"",
"Locality":"",
"State":"",
"Postcode":"",
"OtherData":""
}
]
},
{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"StatusCode":"",
"StatusDescription":"",
"BuildingName":"",
"LevelType":"",
"LevelNumber":"",
"LotNumber":"",
"UnitType":"",
"UnitNumber":"",
"UnitNumberSuffix":"",
"StreetNumber1":"",
"StreetNumberSuffix1":"",
"StreetNumber2":"",
"StreetNumberSuffix2":"",
"StreetName":"",
"StreetType":"",
"StreetTypeSuffix":"",
"PostBoxType":"",
"PostBoxNumberPrefix":"",
"PostBoxNumber":"",
"PostBoxNumberSuffix":"",
"Locality":"",
"State":"",
"Postcode":"",
"OtherData":""
}
]
}
]
}
}
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.Parse.Address.Au.Parse" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" RequestId="" RequestKey="" DepartmentCode="" />
Sample XML Response:
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result StatusCode="" StatusDescription="" BuildingName="" LevelType="" LevelNumber="" LotNumber="" UnitType="" UnitNumber="" UnitNumberSuffix="" StreetNumber1="" StreetNumberSuffix1="" StreetNumber2="" StreetNumberSuffix2="" StreetName="" StreetType="" StreetTypeSuffix="" PostBoxType="" PostBoxNumberPrefix="" PostBoxNumber="" PostBoxNumberSuffix="" Locality="" State="" Postcode="" OtherData="" />
</DtResponse>
Multiple Requests
Sample XML Request:
<DtRequests>
<DtRequest Method="DataTools.Parse.Address.Au.Parse" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" RequestId="" RequestKey="" DepartmentCode="" />
<DtRequest Method="DataTools.Parse.Address.Au.Parse" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" RequestId="" RequestKey="" DepartmentCode="" />
</DtRequests>
Sample XML Response:
<DtResponses ErrorMessage="">
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result StatusCode="" StatusDescription="" BuildingName="" LevelType="" LevelNumber="" LotNumber="" UnitType="" UnitNumber="" UnitNumberSuffix="" StreetNumber1="" StreetNumberSuffix1="" StreetNumber2="" StreetNumberSuffix2="" StreetName="" StreetType="" StreetTypeSuffix="" PostBoxType="" PostBoxNumberPrefix="" PostBoxNumber="" PostBoxNumberSuffix="" Locality="" State="" Postcode="" OtherData="" />
</DtResponse>
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result StatusCode="" StatusDescription="" BuildingName="" LevelType="" LevelNumber="" LotNumber="" UnitType="" UnitNumber="" UnitNumberSuffix="" StreetNumber1="" StreetNumberSuffix1="" StreetNumber2="" StreetNumberSuffix2="" StreetName="" StreetType="" StreetTypeSuffix="" PostBoxType="" PostBoxNumberPrefix="" PostBoxNumber="" PostBoxNumberSuffix="" Locality="" State="" Postcode="" OtherData="" />
</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.