Address Verification Best Practices for Thailand

Address Verification Best Practices for Thailand

Input and Result XML in Address Verification

Input and Result XML in Address Verification

The following example shows how you can verify a Thailand address in a SOAP call to Address Verification.
You submit the following request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v4="http://validator5.AddressDoctor.com/Webservice5/v4"> <soapenv:Header/> <soapenv:Body> <v4:Process> <v4:login>*****</v4:login> <v4:password>*****</v4:password> <v4:parameters> <v4:ProcessMode>Batch</v4:ProcessMode> <v4:ValidationParameters> </v4:ValidationParameters> </v4:parameters> <v4:addresses> <v4:Address> <v4:FormattedAddress> <v4:string>119 RURAL ROAD 3009</v4:string> <v4:string>SONG PHI NONG</v4:string> <v4:string>SUPHAN BURI 72110</v4:string> <v4:string>THA</v4:string> </v4:FormattedAddress> </v4:Address> </v4:addresses> <v4:enrichments> </v4:enrichments> </v4:Process> </soapenv:Body> </soapenv:Envelope>
Informatica Address Verification returns the following response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/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>V4</ProcessStatus> <CountryISO3>THA</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60606060200000000060</ElementInputStatus> <ElementResultStatus>F0F8F0F04000000000E0</ElementResultStatus> <ElementRelevance>10100000000000000010</ElementRelevance> <ExtElementStatus>00000000B00000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Street> <string>Rural Road 3009</string> </Street> <HouseNumber> <string>119</string> </HouseNumber> <Locality> <string>Song Phi Nong</string> <string>Si Samran</string> </Locality> <PostalCode> <string>72110</string> </PostalCode> <Province> <string>Suphan Buri</string> </Province> <Country> <string>THAILAND</string> </Country> <DeliveryAddressLines> <string>119 Rural Road 3009</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>Suphan Buri 72110</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>119 Rural Road 3009</string> <string>Si Samran Song Phi Nong</string> <string>Suphan Buri 72110</string> <string>THAILAND</string> </FormattedAddress> <AddressComplete>119 Rural Road 3009;Si Samran Song Phi Nong;Suphan Buri 72110;THAILAND</AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!