Table of Contents

Search

  1. Preface
  2. Getting Started with Informatica Address Verification (On-Premises)
  3. General Settings
  4. Input Parameters
  5. Process Parameters
  6. Address Enrichments
  7. Result Parameters
  8. Output Fields
  9. Assessment Codes and Return Codes
  10. Frequently Asked Questions
  11. Appendix A: Geocode Countries
  12. Appendix B: CASS Return Codes

Developer Guide (On-Premises)

Developer Guide (On-Premises)

How Do I Manage Unlock Codes?

How Do I Manage Unlock Codes?

You need valid unlock codes to access reference address databases for address validation and address enrichments. Each unlock code can unlock multiple databases that Informatica Address Verification assigns to the unlock code. Address Verification passes the unlock code to the initialization function. The initialization fails if you do not specify any unlock code or if the unlock code you specified is not valid or incorrect.
You can specify multiple unlock codes and pass them one after the other to the initialization function. If there are multiple unlock codes for one country among the unlock codes you specified, Address Verification uses the longest-valid unlock code for that country. For example, you have the following unlock codes:

    Code A unlocks DEU and USA validation until 31.12.2014

    Code B unlocks CHE and USA validation until 31.12.2015

    Code C unlocks CHE and USA geocoding until 31.12.2015

In this case, DEU validation expires on 31.12.2014. For CHE and USA, the validation remains active until 31.12.2015. Note that unlock codes also have valid-from date before which the code remains not valid.
The following code sample shows assigning of unlock codes using C API.
AD_Initialize( "<?xml version='1.0' encoding='iso-8859-1' ?>\n" "<SetConfig>\n" "<General />\n" "<UnlockCode>(Enter Code A here)</UnlockCode>\n" "<UnlockCode>(Enter Code B here)</UnlockCode>\n" "<UnlockCode>(Enter Code C here)</UnlockCode>\n" "<DataBase CountryISO3='USA' Type='GEOCODING' Path='/ADDB' PreloadingType='NONE' />\n” "<DataBase CountryISO3='CHE' Type='GEOCODING' Path='/ADDB' PreloadingType='NONE' />\n” "<DataBase CountryISO3='ALL' Type='BATCH_INTERACTIVE' Path='/ADDB' PreloadingType='NONE' />\n" "</SetConfig>\n", NULL, NULL, NULL );
The following code sample shows assigning of unlock codes using Java API.
AddressDoctor.initialize( "<?xml version='1.0' encoding='UTF-16LE'?>\n" + "<!DOCTYPE SetConfig SYSTEM 'SetConfig.dtd'>\n" + "<SetConfig>\n" + "<General WriteXMLEncoding='UTF-16LE'/>\n" + // Engine & DB Unlock Code "<UnlockCode>(Enter Code A here)</UnlockCode>\n" + "<UnlockCode>(Enter Code B here)</UnlockCode>\n" + "<UnlockCode>(Enter Code C here)</UnlockCode>\n" + "<DataBase CountryISO3='USA' Type='GEOCODING' Path='/ADDB' PreloadingType='NONE'/>\n" + "<DataBase CountryISO3='CHE' Type='GEOCODING' Path='/ADDB' PreloadingType='NONE'/>\n" + "<DataBase CountryISO3='ALL' Type='BATCH_INTERACTIVE' Path='/ADDB' PreloadingType='NONE'/>\n" + "</SetConfig>", null, null, null);

0 COMMENTS

We’d like to hear from you!