Table of Contents

Search

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

Developer Guide

Developer Guide

Example: Address with Residue Information

Example: Address with Residue Information

The following example shows an input address that contains superfluous information that Informatica AddressDoctor Cloud returns in the
Residue
element of the response. The following request contains two main localities, Maxdorf and Mannheim. Because the street information and the postal code belong to the locality Maxdorf, Informatica AddressDoctor Cloud moves the other locality in the input address, Mannheim, to the Residue field in the response.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://validator5.AddressDoctor.com/Webservice5/v2"> <soapenv:Header/> <soapenv:Body> <Process xmlns="http://validator5.AddressDoctor.com/Webservice5/v2"> <login>*****</login> <password>*****</password> <parameters> <ProcessMode>INTERACTIVE</ProcessMode> </parameters> <addresses> <Address> <FormattedAddress> <string>Röntgenstr. 9</string> <string>67133 Maxdorf</string> <string>Mannheim</string> <string>DEU</string> </FormattedAddress> </Address> </addresses> </Process> </soapenv:Body> </soapenv:Envelope>
In the response, Informatica AddressDoctor Cloud moves Mannheim, which is not required for mail delivery, to the
Residue
field. Note that the information in the
Residue
field is not part of the
FormattedAddress
or
AddressComplete
elements.
<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/v2"> <ProcessResult> <StatusCode>100</StatusCode> <StatusMessage>OK</StatusMessage> <Results> <Result> <ProcessStatus>C4</ProcessStatus> <CountryISO3>DEU</CountryISO3> <ResultDataSet> <ResultData> <ResultNumber>1</ResultNumber> <MailabilityScore>4</MailabilityScore> <ResultPercentage>100.00</ResultPercentage> <ElementInputStatus>60600060600000000060</ElementInputStatus> <ElementResultStatus>F0F080F0F000000000E0</ElementResultStatus> <ElementRelevance>10100010100000000010</ElementRelevance> <ExtElementStatus>00005000000000000000</ExtElementStatus> <AddressResolutionCode>00000000000000000000 </AddressResolutionCode> <AddressType>S</AddressType> <LanguageISO3>DEU</LanguageISO3> <Address> <Street> <string>Röntgenstr.</string> </Street> <HouseNumber> <string>9</string> </HouseNumber> <Locality> <string>Maxdorf</string> </Locality> <PostalCode> <string>67133</string> </PostalCode> <Province> <string>Rheinland-Pfalz</string> </Province> <Country> <string>GERMANY</string> </Country> <Residue> <string>Mannheim</string> </Residue> <DeliveryAddressLines> <string>Röntgenstr. 9</string> </DeliveryAddressLines> <CountrySpecificLocalityLine> <string>67133 Maxdorf</string> </CountrySpecificLocalityLine> <FormattedAddress> <string>Röntgenstr. 9</string> <string>67133 Maxdorf</string> <string>GERMANY</string> </FormattedAddress> <AddressComplete>Röntgenstr. 9;67133 Maxdorf;GERMANY </AddressComplete> </Address> </ResultData> </ResultDataSet> </Result> </Results> </ProcessResult> </ProcessResponse> </soap:Body> </soap:Envelope>

0 COMMENTS

We’d like to hear from you!