Address Verification Best Practices for Turkey

Address Verification Best Practices for Turkey

Mapping Input Address Data to Address Elements

Mapping Input Address Data to Address Elements

To verify an address, map the input address data elements to the appropriate elements in Address Verification.
The following table shows how the input address data maps to the Address Verification address elements:
Address Elements
Address Information
Information Type
Recipient
MEHMET DEMIR
Recipient
Street
GÖKHAN SOK.
Street Name and Street Type
House Number
NO. 1
House Number
Locality_1
SİNCAN
City or Major Town
Locality_2
[Not used in this address]
Town or Administrative District
Locality_3
AKŞEMSETTİN MAH.
Mahalle, District, or Village
Postal Code
06934
Postal Code
Province
ANKARA
Province
The following example shows how to map the input address elements within Address Verification (On-Premises).
You enter the following input address:
<InputData> <AddressElements> <Country Item="1" Type="NAME">TURKEY</Country> <Street Item ="1">GÖKHAN SOK.</Street> <Number Item="1">NO. 1</Number> <Locality Item="1" Type="COMPLETE">SİNCAN</Locality> <Locality Item="3">AKŞEMSETTİN MAH.</Locality> <PostalCode Item="1" Type="UNFORMATTED">06934</PostalCode> <Province Item="1">ANKARA</Province> </AddressElements> </InputData>
Informatica Address Verification (On-Premises) returns the following result:
<?xml version="1.0" encoding="UTF-16"?> <!-- EngineVersion="5.10.0.40146" --> <Result ProcessStatus="V2" ModeUsed="BATCH" Count="1" CountOverflow="NO" CountryISO3="TUR" PreferredScript="DATABASE" PreferredLanguage="DATABASE"> <ResultData ResultNumber="1" MailabilityScore="4" ResultPercentage="100.00" ElementResultStatus="F0FFF0F04000000000E0" ElementInputStatus="60666060200000000060" AddressResolutionCode="00000000000000000000" ExtElementStatus="00000000B00000000000" ElementRelevance="10101010100000000010" AddressType="S" LanguageISO3="TUR"> <AddressElements> <Country Type="NAME_EN" Item="1">TURKEY</Country> <Locality Item="1">SİNCAN</Locality> <Locality Item="3">AKŞEMSETTİN MAH.</Locality> <PostalCode Item="1">06934</PostalCode> <Province Item="1">ANKARA</Province> <Street Item="1">GÖKHAN SOK.</Street> <Number Item="1">NO. 1</Number> </AddressElements> <AddressLines> <DeliveryAddressLine Line="1">AKŞEMSETTİN MAH.</DeliveryAddressLine> <DeliveryAddressLine Line="2">GÖKHAN SOK. NO. 1</DeliveryAddressLine> <CountrySpecificLocalityLine Line="1">06934 SİNCAN/ANKARA</CountrySpecificLocalityLine> <FormattedAddressLine Line="1">AKŞEMSETTİN MAH.</FormattedAddressLine> <FormattedAddressLine Line="2">GÖKHAN SOK. NO. 1</FormattedAddressLine> <FormattedAddressLine Line="3">06934 SİNCAN/ANKARA</FormattedAddressLine> <FormattedAddressLine Line="4">TURKEY</FormattedAddressLine> </AddressLines> <AddressComplete>Akşemsettin Mah. Gökhan Sok. NO. 1 06934 Sincan/Ankara TURKEY</AddressComplete> <EnrichmentData GeoCodingStatus="EGCN" CAMEOStatus="ECON" CASSStatus="ECA0" SERPStatus="ESE0" SNAStatus="ESN0" AMASStatus="EAM0" SendRightStatus="ESR0" SupplementaryGBStatus="EGB0" SupplementaryJPStatus="EJP0" SupplementaryRSStatus="ERS0" SupplementaryBRStatus="EBR0" SupplementaryDEStatus="EDE0" SupplementaryZAStatus="EZA0" SupplementaryCHStatus="ECH0" SupplementaryATStatus="EAT0" SupplementaryPLStatus="EPL0" SupplementaryFRStatus="EFR0" SupplementaryBEStatus="EBE0" SupplementaryRUStatus="ERU0" SupplementaryUSStatus="EUS0" SupplementaryKRStatus="EKR0" SupplementaryITStatus="EIT0" SupplementaryESStatus="EES0" SupplementaryCZStatus="ECZ0"> <GeoCoding Type="COMPLETE"></GeoCoding> <GeoCoding Type="LATITUDE"></GeoCoding> <GeoCoding Type="LONGITUDE"></GeoCoding> <GeoCoding Type="LAT_LONG_UNIT"></GeoCoding> <CAMEO Type="CATEGORY"></CAMEO> <CAMEO Type="INTERNATIONAL"></CAMEO> <CAMEO Type="GROUP"></CAMEO> <CAMEO Type="MVID"></CAMEO> <CAMEO Type="CATEGORY_DESCRIPTION"></CAMEO> <CAMEO Type="GROUP_DESCRIPTION"></CAMEO> <CAMEO Type="INTERNATIONAL_DESCRIPTION"></CAMEO> </EnrichmentData> </ResultData> </Result>
The following example shows how to verify a Turkey address by using SOAP call to Address Verification.
You submit the following request:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns="http://validator5.AddressDoctor.com/Webservice5/v4"> <soap:Header/> <soap:Body> <Process> <!--Optional:--> <login>*****</login> <!--Optional:--> <password>********</password> <!--Optional:--> <parameters> <ProcessMode>BATCH</ProcessMode> </parameters> <addresses> <Address> <Street> <string>GÖKHAN SOK</string> </Street> <HouseNumber> <string>NO. 1</string> </HouseNumber> <Locality> <string>SİNCAN</string> <string>AKŞEMSETTİN MAH.</string> </Locality> <PostalCode> <string>06934</string> </PostalCode> <Province> <string>ANKARA</string> </Province> <Country> <string>Turkey</string> </Country> </Address> </addresses> </Process> </soap:Body> </soap:Envelope>
Informatica Address Verification returns the following response:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProcessResponse xmlns="http://validator5.AddressDoctor.com/Webservice5/v4"> <ProcessResult> <StatusCode>100</StatusCode> <StatusMessage>OK</StatusMessage> <Results> <Result> <ProcessStatus>V2</ProcessStatus> <CountryISO3>TUR</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>4</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60666050200000000060</ElementInputStatus> <ElementResultStatus>F0FFF0E04000000000E0</ElementResultStatus> <ElementRelevance>10101010100000000010</ElementRelevance> <ExtElementStatus>00070000B00000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>TUR</LanguageISO3> <Address> <Street> <string>GÖKHAN SOK.</string> </Street> <HouseNumber> <string>NO. 1</string> </HouseNumber> <Locality> <string>SİNCAN</string> <string/> <string>AKŞEMSETTİN MAH.</string> </Locality> <PostalCode> <string>06934</string> </PostalCode> <Province> <string>ANKARA</string> </Province> <Country> <string>TURKEY</string> </Country> <DeliveryAddressLines> <string>AKŞEMSETTİN MAH.</string> <string>GÖKHAN SOK. NO. 1</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>06934 SİNCAN/ANKARA</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>AKŞEMSETTİN MAH.</string> <string>GÖKHAN SOK. NO. 1</string> <string>06934 SİNCAN/ANKARA</string> <string>TURKEY</string> </FormattedAddress> <AddressComplete>Akşemsettin Mah.;Gökhan Sok. NO. 1;06934 Sincan/Ankara;TURKEY</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>
Address Verification places the Mahalle information "AKŞEMSETTİN MAH." in String_3 and Address Verification (On-Premises) places the Mahalle information in Locality_3.

0 COMMENTS

We’d like to hear from you!