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

ProcessMode Parameter

ProcessMode Parameter

ProcessMode
is a required parameter that you must specify in the request. You can specify one of the following values for the
ProcessMode
parameter.
AddressCodeLookup
To enter a country-specific address code and retrieve the complete or partial address for the code, set
ProcessMode
to
ADDRESSCODELOOKUP
. Informatica AddressDoctor Cloud considers the AddressCodeLookup transactions as batch transactions. You must have sufficient batch transactions in your account to use the AddressCodeLookup process mode. You can use the AddressCodeLookup process mode to retrieve addresses from the following countries:
Country
Supported Codes
Germany
DEU_AGS, DEU_LOCALITY_ID, and DEU_STREET_ID
Japan
JPN_CHOUMEI_AZA_CODE and JPN_CHOUMEI_AZA_GAIKU_CODE
Serbia
SRB_PAK
South Africa
ZAF_NADID
United Kingdom
GBR_UDPRN
Batch
To cleanse large data files with minimal user intervention, set
ProcessMode
to
BATCH
. In batch mode, Informatica AddressDoctor Cloud corrects addresses but does not return address suggestions for the user to choose from. You can input up to 1000 addresses in a batch-mode request. For each of the addresses present in the request, Informatica AddressDoctor Cloud returns one result in the response. Each of the results contains one
ResultData
element.
Certified
To correct and validate addresses according to the postal certifications of countries such as Australia, Canada, France, New Zealand, or USA, set
ProcessMode
to
CERTIFIED
. You can input up to 1000 addresses in a certified-mode request. The following table lists the postal certifications that Informatica AddressDoctor Cloud supports. If you enter addresses from countries that Informatica AddressDoctor Cloud does not support for the certified mode, Informatica AddressDoctor Cloud processes such requests in the batch mode. If you also want Informatica AddressDoctor Cloud to return enrichments that are available in the certified mode, specify the certification as the enrichment type in the request.
Country
Certification
Organization
Enrichment Type
Australia
AMAS
Australia Post
AMAS
Canada
SERP
Canada Post
SERP
France
SNA
La Poste
SNA
New Zealand
SendRight
New Zealand Post
SEND_RIGHT
Interactive
To receive address suggestions from which you can choose the best available match for the input address, set
ProcessMode
to
INTERACTIVE
. In the interactive mode you can choose the best possible match from the address suggestions that Informatica AddressDoctor Cloud returns.
FastCompletion
To receive address suggestions as you enter an address, set
ProcessMode
to
FASTCOMPLETION
. In the fast completion mode, you receive address suggestions with minimum input. For some countries such as the United Kingdom, you need to enter only the postal code and building number to receive a complete address.
Informatica AddressDoctor Cloud also supports the single-line address validation using the
AddressComplete
element in the fast completion mode. The single-line address validation support is available only for select countries.
For interactive and fast completion modes, only one
Address
element can be specified in the request. The response contains one
Result
element, but the
ResultDataSet
might contain up to 100
ResultData
elements with the suggestions. The following table lists the process modes and how many elements each array can contain.
ProcessMode
Addresses
Results
ResultDataSet
Batch or Certified
Up to 1000
Up to 1000
0 to 1
Interactive or FastCompletion
1
1
0 to 100
Syntax
<ProcessMode>ADDRESSCODELOOKUP | BATCH | CERTIFIED | FASTCOMPLETION | INTERACTIVE</ProcessMode>
Example
The following example shows an Informatica AddressDoctor request for validating an address in the interactive mode.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://validator5.AddressDoctor.com/Webservice5/v2"> <soapenv:Header/> <soapenv:Body> <Process> <login>*****</login> <password>**********</password> <parameters>
<ProcessMode>INTERACTIVE</ProcessMode>
</parameters> <addresses> <Address> <FormattedAddress> <string>U 8 995 BURKE ROAD</string> <string>CAMBERWELL VIC 3124</string> <string>AUSTRALIA</string> </FormattedAddress> </Address> </addresses> </Process> </soapenv:Body> </soapenv:Envelope>

0 COMMENTS

We’d like to hear from you!