Global Name:Result Codes

From Melissa Data Wiki
Revision as of 00:10, 24 September 2014 by Admin (talk | contribs) (Created page with "← Global Name Web Service Reference {| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px solid #aa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

← Global Name Web Service Reference

Global Name Web Service Navigation
Introduction
Licensing
Request
Request Elements
Request Record Elements
Example Request
Options
CorrectFirstName
NameHint
GenderPopulation
GenderAggression
MiddleNameLogic
Response
Response Elements
Response Record Elements
Example Response
Result Codes
Result Code Use
Returned Result Codes
Sample Code



Result Code Use

Melissa Data's products use a result code system to indicate data quality; the status and any errors. These result codes are four-character codes (two letters followed by two numbers), delimited by commas. Result code definitions are shared among Melissa Data products.

Example

An example returned result code string:

NS01,NS03

Instead of looking at multiple properties and methods to determine status, you can look at the output of the results parameter.

From this output you can determine that the name was:

Code Short Description Long Description
NS01 Parsing Successful Name parsing was successful.
NS03 First Name Spelling Corrected The spelling in the first name field was corrected.

Be sure to reference Result Codes for a list of Melissa Data's result codes.

Understanding the Code

To fully understand result codes, you need to know them. Knowing what codes are possible and what they indicate will be key in building an effective application. It is useful to know all the codes, but this does not necessarily mean you will use them all. Just because you have a toolbox, doesn't mean you will also try to use a screwdriver along with a hammer on a nail.