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 CASS Enrichment for a United States Address

Example: Retrieving CASS Enrichment for a United States Address

Address Verification supports certified-mode address verification for the United States. The address verification process analyzes and updates different aspects of the address according to the different USPS postal criteria.
The following example shows a request to validate a United States address in certified mode and to retrieve the related enrichments for the address:
Note the following parameter values in the input XML:
  • The
    ProcessMode
    value is
    CERTIFIED
    .
  • The
    Enrichment Type
    is
    CASS
    .
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> <login>*****</login> <password>******</password> <parameters> <ProcessMode>CERTIFIED</ProcessMode> </parameters> <addresses> <Address> <Street> <string>15501 Weston Pkwy</string> </Street> <Locality> <string>Cary</string> </Locality> <PostalCode> <string>27513</string> </PostalCode> <Province> <string>NC</string> </Province> <Country> <string>USA</string> </Country> </Address> </addresses> <enrichments> <Enrichment> <Type>CASS</Type> </Enrichment> </enrichments> </Process> </soap:Body> </soap:Envelope>
Informatica Address Verification returns the following response, which includes enrichments available in the certified mode:
<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>C4</ProcessStatus> <CountryISO3>USA</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>4</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60606060600000000060</ElementInputStatus> <ElementResultStatus>F8F0F8F0F000000000E0</ElementResultStatus> <ElementRelevance>11101010100000000010</ElementRelevance> <ExtElementStatus>00000000000000100000</ExtElementStatus> <AddressResolutionCode>00000000000000000000</AddressResolutionCode> <AddressType>H</AddressType> <LanguageISO3>ENG</LanguageISO3> <Address> <Street> <string>WESTON PKWY</string> </Street> <HouseNumber> <string>15501</string> </HouseNumber> <Locality> <string>CARY</string> </Locality> <PostalCode> <string>27513-8636</string> </PostalCode> <Province> <string>NC</string> <string>WAKE</string> </Province> <Country> <string>UNITED STATES</string> </Country> <DeliveryAddressLines> <string>15501 WESTON PKWY</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>CARY NC 27513-8636</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>15501 WESTON PKWY</string> <string>CARY NC 27513-8636</string> <string>UNITED STATES</string> </FormattedAddress> <AddressComplete>15501 WESTON PKWY;CARY NC 27513-8636;UNITED STATES</AddressComplete> </Address> </ResultData> </ResultDataSet> <Enrichments> <Enrichment>
<Type>CASS</Type> <PayloadXml><![CDATA[<CASS><Status>ECA5</Status><ERRORCODE></ERRORCODE><BARCODE>27513863699</BARCODE><DELIVERY_POINT>99</DELIVERY_POINT><PO_BOX_ONLY></PO_BOX_ONLY><RECORDTYPE>H</RECORDTYPE><CARRIER_ROUTE>R034</CARRIER_ROUTE><CONGRESSIONAL_DISTRICT>02</CONGRESSIONAL_DISTRICT><DELIVERY_POINT_CHECK_DIGIT>1</DELIVERY_POINT_CHECK_DIGIT><HIGHRISE_DEFAULT>Y</HIGHRISE_DEFAULT><HIGHRISE_EXACT>N</HIGHRISE_EXACT><RURALROUTE_DEFAULT>N</RURALROUTE_DEFAULT><RURALROUTE_EXACT>N</RURALROUTE_EXACT><LACS></LACS><DPV_CONFIRMATION>D</DPV_CONFIRMATION><DPV_CONFIRMATION_3553>N</DPV_CONFIRMATION_3553><DPV_CMRA>N</DPV_CMRA><DPV_PBSA>N</DPV_PBSA><DPV_DNA>N</DPV_DNA><DPV_NSL>N</DPV_NSL><DPV_FALSE_POSITIVE></DPV_FALSE_POSITIVE><DPV_FOOTNOTE_1>AA</DPV_FOOTNOTE_1><DPV_FOOTNOTE_2>N1</DPV_FOOTNOTE_2><DPV_FOOTNOTE_3></DPV_FOOTNOTE_3><DPV_FOOTNOTE_COMPLETE>AAN1</DPV_FOOTNOTE_COMPLETE><LACSLINK_RETURNCODE></LACSLINK_RETURNCODE><SUITELINK_RETURNCODE></SUITELINK_RETURNCODE><EWS_RETURNCODE></EWS_RETURNCODE><ZIPMOVE_RETURNCODE></ZIPMOVE_RETURNCODE><DSF2_NOSTATS_INDICATOR>N</DSF2_NOSTATS_INDICATOR><DSF2_VACANT_INDICATOR>N</DSF2_VACANT_INDICATOR><DEFAULT_FLAG>Y</DEFAULT_FLAG><LACSLINK_INDICATOR></LACSLINK_INDICATOR><RDI>N</RDI><ELOT_FLAG>A</ELOT_FLAG><ELOT_SEQUENCE>0273</ELOT_SEQUENCE></CASS>]]></PayloadXml>
</Enrichment> </Enrichments> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!