Global Phone:Result Codes: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


==Result Code Use==
==Result Code Use==
The list of all result codes can be found here: [[Result Code Details]].
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.
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.



Revision as of 17:56, 16 February 2017

← Global Phone

Global Phone Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Batch JSON
Result Codes
Result Code Use
Global Phone Result Codes
Sample Code



Result Code Use

The list of all result codes can be found here: Result Code Details.

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:

PS01,PS10

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 phone number is:

Code Short Description Long Description
PS01 10-Digit Match The first 10-digits of the phone number have been verified as valid.
PS10 Residential Number The phone number belongs to a residence.

Be sure to reference Result Code Details 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.