Method:
DataTools.Capture.Address.Predictive.IntPca.RetrieveAddress
You can use this method to retrieve full international address details for record IDs prefixed with 'IntPca'.
Test:
Input Parameters:
Output Fields:
Field | Description |
DomesticId | Domestic Address ID eg DPID |
Company | Company Name |
Department | Department |
BuildingName | Building Name |
UnitLevelNumber | Unit and Level Number eg Office 310 Level 3 |
StreetNumber | Street Number eg 20A |
StreetName | Street Name eg Lexington Dr |
SecondaryStreetName | Secondary Street Name |
Block | Block |
Neighbourhood | Neighbourhood |
AddressLine1 | Address Line 1 eg Office 310, 20A Lexington Dr |
AddressLine2 | Address Line 2 |
AddressLine3 | Address Line 3 |
AddressLine4 | Address Line 4 |
AddressLine5 | Address Line 5 |
District | District |
LocalityCityTown | Locality/City/Town eg BELLA VISTA |
StateProvince | State/Province eg NSW |
StateProvinceName | State/Province Name eg New South Wales |
StateProvinceCode | State/Province Code eg NSW |
Postcode | Postcode eg 2153 |
CountryName | Country Name eg Australia |
CountryIso2 | ISO 3166-2 character country code eg. 'AU' |
CountryIso3 | ISO 3166-3 character country code eg. 'AUS' |
CountryIsoNumber | ISO 3166 Numeric Code eg 36 |
AdminAreaName | Admin Area Name |
AdminAreaCode | Admin Area Code |
SortingNumber1 | Sorting Number 1 |
SortingNumber2 | Sorting Number 2 |
Barcode | Barcode |
PostBoxNumber | Post Box Number |
Language | Language |
LanguageAlternatives | Language Alternatives |
Type | Property Type [Option Values] |
DataLevel | Source Data Level [Option Values] |
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.Capture.Address.Predictive.IntPca.RetrieveAddress&RecordId=&LanguagePreference=&RequestId=&RequestKey=&DepartmentCode=
Sample JSON Response:
{
"DtResponse":{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DomesticId":"",
"Company":"",
"Department":"",
"BuildingName":"",
"UnitLevelNumber":"",
"StreetNumber":"",
"StreetName":"",
"SecondaryStreetName":"",
"Block":"",
"Neighbourhood":"",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"District":"",
"LocalityCityTown":"",
"StateProvince":"",
"StateProvinceName":"",
"StateProvinceCode":"",
"Postcode":"",
"CountryName":"",
"CountryIso2":"",
"CountryIso3":"",
"CountryIsoNumber":"",
"AdminAreaName":"",
"AdminAreaCode":"",
"SortingNumber1":"",
"SortingNumber2":"",
"Barcode":"",
"PostBoxNumber":"",
"Language":"",
"LanguageAlternatives":"",
"Type":"",
"DataLevel":""
}
]
}
}
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.Capture.Address.Predictive.IntPca.RetrieveAddress",
"RecordId":"",
"LanguagePreference":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
}
}
Sample JSON Response:
{
"DtResponse":{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DomesticId":"",
"Company":"",
"Department":"",
"BuildingName":"",
"UnitLevelNumber":"",
"StreetNumber":"",
"StreetName":"",
"SecondaryStreetName":"",
"Block":"",
"Neighbourhood":"",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"District":"",
"LocalityCityTown":"",
"StateProvince":"",
"StateProvinceName":"",
"StateProvinceCode":"",
"Postcode":"",
"CountryName":"",
"CountryIso2":"",
"CountryIso3":"",
"CountryIsoNumber":"",
"AdminAreaName":"",
"AdminAreaCode":"",
"SortingNumber1":"",
"SortingNumber2":"",
"Barcode":"",
"PostBoxNumber":"",
"Language":"",
"LanguageAlternatives":"",
"Type":"",
"DataLevel":""
}
]
}
}
Multiple Requests
Sample JSON Request:
{
"DtRequests":{
"DtRequest":[
{
"Method":"DataTools.Capture.Address.Predictive.IntPca.RetrieveAddress",
"RecordId":"",
"LanguagePreference":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
},
{
"Method":"DataTools.Capture.Address.Predictive.IntPca.RetrieveAddress",
"RecordId":"",
"LanguagePreference":"",
"RequestId":"",
"RequestKey":"",
"DepartmentCode":""
}
]
}
}
Sample JSON Response:
{
"DtResponses":{
"ErrorMessage":"",
"DtResponse":[
{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DomesticId":"",
"Company":"",
"Department":"",
"BuildingName":"",
"UnitLevelNumber":"",
"StreetNumber":"",
"StreetName":"",
"SecondaryStreetName":"",
"Block":"",
"Neighbourhood":"",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"District":"",
"LocalityCityTown":"",
"StateProvince":"",
"StateProvinceName":"",
"StateProvinceCode":"",
"Postcode":"",
"CountryName":"",
"CountryIso2":"",
"CountryIso3":"",
"CountryIsoNumber":"",
"AdminAreaName":"",
"AdminAreaCode":"",
"SortingNumber1":"",
"SortingNumber2":"",
"Barcode":"",
"PostBoxNumber":"",
"Language":"",
"LanguageAlternatives":"",
"Type":"",
"DataLevel":""
}
]
},
{
"RequestId":"",
"ResultCount":"1",
"ErrorMessage":"",
"Result":[
{
"DomesticId":"",
"Company":"",
"Department":"",
"BuildingName":"",
"UnitLevelNumber":"",
"StreetNumber":"",
"StreetName":"",
"SecondaryStreetName":"",
"Block":"",
"Neighbourhood":"",
"AddressLine1":"",
"AddressLine2":"",
"AddressLine3":"",
"AddressLine4":"",
"AddressLine5":"",
"District":"",
"LocalityCityTown":"",
"StateProvince":"",
"StateProvinceName":"",
"StateProvinceCode":"",
"Postcode":"",
"CountryName":"",
"CountryIso2":"",
"CountryIso3":"",
"CountryIsoNumber":"",
"AdminAreaName":"",
"AdminAreaCode":"",
"SortingNumber1":"",
"SortingNumber2":"",
"Barcode":"",
"PostBoxNumber":"",
"Language":"",
"LanguageAlternatives":"",
"Type":"",
"DataLevel":""
}
]
}
]
}
}
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.Capture.Address.Predictive.IntPca.RetrieveAddress" RecordId="" LanguagePreference="" RequestId="" RequestKey="" DepartmentCode="" />
Sample XML Response:
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result DomesticId="" Company="" Department="" BuildingName="" UnitLevelNumber="" StreetNumber="" StreetName="" SecondaryStreetName="" Block="" Neighbourhood="" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" District="" LocalityCityTown="" StateProvince="" StateProvinceName="" StateProvinceCode="" Postcode="" CountryName="" CountryIso2="" CountryIso3="" CountryIsoNumber="" AdminAreaName="" AdminAreaCode="" SortingNumber1="" SortingNumber2="" Barcode="" PostBoxNumber="" Language="" LanguageAlternatives="" Type="" DataLevel="" />
</DtResponse>
Multiple Requests
Sample XML Request:
<DtRequests>
<DtRequest Method="DataTools.Capture.Address.Predictive.IntPca.RetrieveAddress" RecordId="" LanguagePreference="" RequestId="" RequestKey="" DepartmentCode="" />
<DtRequest Method="DataTools.Capture.Address.Predictive.IntPca.RetrieveAddress" RecordId="" LanguagePreference="" RequestId="" RequestKey="" DepartmentCode="" />
</DtRequests>
Sample XML Response:
<DtResponses ErrorMessage="">
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result DomesticId="" Company="" Department="" BuildingName="" UnitLevelNumber="" StreetNumber="" StreetName="" SecondaryStreetName="" Block="" Neighbourhood="" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" District="" LocalityCityTown="" StateProvince="" StateProvinceName="" StateProvinceCode="" Postcode="" CountryName="" CountryIso2="" CountryIso3="" CountryIsoNumber="" AdminAreaName="" AdminAreaCode="" SortingNumber1="" SortingNumber2="" Barcode="" PostBoxNumber="" Language="" LanguageAlternatives="" Type="" DataLevel="" />
</DtResponse>
<DtResponse RequestId="" ResultCount="1" ErrorMessage="">
<Result DomesticId="" Company="" Department="" BuildingName="" UnitLevelNumber="" StreetNumber="" StreetName="" SecondaryStreetName="" Block="" Neighbourhood="" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" District="" LocalityCityTown="" StateProvince="" StateProvinceName="" StateProvinceCode="" Postcode="" CountryName="" CountryIso2="" CountryIso3="" CountryIsoNumber="" AdminAreaName="" AdminAreaCode="" SortingNumber1="" SortingNumber2="" Barcode="" PostBoxNumber="" Language="" LanguageAlternatives="" Type="" DataLevel="" />
</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.