Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Address Verification
  3. Informatica Address Verification Interface
  4. Informatica Address Verification Request Parameters
  5. Informatica Address Verification Response Elements
  6. Examples

Developer Guide

Developer Guide

Example: Retrieving the Postal Address Code for an Austria Address

Example: Retrieving the Postal Address Code for an Austria Address

The following example shows how
Informatica Address Verification
can validate an Austria address and return the Postal Address Code (PAC) value for the address.
The request includes the following validation parameters :
  • FormatDelimiter
    is set to COMMA.
  • PreferredScript
    is set to LATIN.
  • PreferredLanguage
    is set to ENGLISH.
  • MaxResultCount
    is set to 100.
  • Under
    Standardizations
    for LOCALITY,
    Casing
    is set to UPPER.
  • Type of
    Enrichment
    is set to SUPPLEMENTARY_AT.
You submit the following request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://validator5.AddressDoctor.com/Webservice5/v4"> <soapenv:Header/> <soapenv:Body> <Process> <login>*****</login> <password>****</password> <parameters> <ProcessMode>INTERACTIVE</ProcessMode> <ValidationParameters> <FormatDelimiter>COMMA</FormatDelimiter> <PreferredScript>LATIN</PreferredScript> <PreferredLanguage>ENGLISH</PreferredLanguage> <MaxResultCount>100</MaxResultCount> <Standardizations> <Element>Locality</Element> <Casing>UPPER</Casing> <MaxLength>50</MaxLength> <MaxItemCount>2</MaxItemCount> </Standardizations> </ValidationParameters> </parameters> <addresses> <Address> <FormattedAddress> <string>Grafenweg 3</string> <string>6714 Nüziders</string> <string>AUT</string> </FormattedAddress> </Address> </addresses> <enrichments> <Enrichment> <Type>SUPPLEMENTARY_AT</Type> </Enrichment> </enrichments> </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>AUT</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>5</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600060600000000060</ElementInputStatus> <ElementResultStatus>F0F888F0F000000000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>00EEEEE0000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>DEU</LanguageISO3> <Address> <Street> <string>Grafenweg</string> </Street> <HouseNumber> <string>3</string> </HouseNumber> <Locality> <string>NUEZIDERS</string> <string>NUEZIDERS</string> </Locality> <PostalCode> <string>6714</string> </PostalCode> <Province> <string>Vorarlberg</string> <string>Bludenz</string> </Province> <Country> <string>AUSTRIA</string> </Country> <DeliveryAddressLines> <string>Grafenweg 3</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>6714 NUEZIDERS</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Grafenweg 3</string> <string>6714 NUEZIDERS</string> <string>AUSTRIA</string> </FormattedAddress> <AddressComplete>Grafenweg 3,6714 Nueziders,AUSTRIA</AddressComplete> </Address> </ResultData> </ResultDataSet> <Enrichments> <Enrichment> <Type>SUPPLEMENTARY_AT</Type>
<PayloadXml><![CDATA[<SUPPLEMENTARY_AT><Status>EAT1</Status><POSTAL_ADDRESS_CODE>100501606</POSTAL_ADDRESS_CODE><PAC_ID></PAC_ID></SUPPLEMENTARY_AT>]]></PayloadXml>
</Enrichment> </Enrichments> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>
Note the following features in the response:
  • The elements in
    AddressComplete
    are separated by commas.
  • The Locality element is returned in uppercase letters.
  • The output is in English and uses a Latin script.
  • The output includes the PAC value for the address.

0 COMMENTS

We’d like to hear from you!