Personator Search:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{PersonatorSearchNav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== ===Using Address as Input=== <pre> https://personatorsearch.melissadata.net/WEB/PersonatorSearch/d..."
 
No edit summary
Line 27: Line 27:
&cols={Columns}
&cols={Columns}
&opt={Options}
&opt={Options}
&mkey={Melissa Address Key}
&mak={Melissa Address Key}
</pre>
</pre>



Revision as of 16:55, 23 March 2017

← Personator Search

Personator Search Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Result Codes
Result Code Use
Personator Search Result Codes
Sample Code



REST Request

Using Address as Input

https://personatorsearch.melissadata.net/WEB/PersonatorSearch/doPersonatorSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&full={Full Name}
&a1={Address Line 1}
&city={City}
&state={State}
&postal={Postal Code}


Using Melissa Address Key (MAK) as Input

https://personatorsearch.melissadata.net/WEB/PersonatorSearch/doPersonatorSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&mak={Melissa Address Key}


Using Email as Input

https://personatorsearch.melissadata.net/WEB/PersonatorSearch/doPersonatorSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&email={Email Address}


Using Name and ZIP as Input

https://personatorsearch.melissadata.net/WEB/PersonatorSearch/doPersonatorSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&full={Full Name}
&postal={Postal Code}


Using Phone as Input

https://personatorsearch.melissadata.net/WEB/PersonatorSearch/doPersonatorSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&phone={Phone Number}


Using FreeForm as Input

https://personatorsearch.melissadata.net/WEB/PersonatorSearch/doPersonatorSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&ff={Free Form}


JSON Response

{
"TransmissionResults": {"type":"string"},
"TransmissionReference":{"type":"string"},
"TotalPages":{"type":"string"},
"TotalRecords":{"type":"string"},
"Version":{"type":"string"},
"Records": [
  {
    "RecordID":{"type":"string"},
    "Results":{"type":"string"},
    "FullName":{"type":"string"},
    "FirstName":{"type":"string"},
    "LastName":{"type":"string"},
    "DateOfBirth":{"type":"string"},
    "DateOfDeath":{"type":"string"},
    "CurrentAddress":
      {
        "AddressLine1":{"type":"string"},
        "Suite":{"type":"string"},
        "City":{"type":"string"},
        "State":{"type":"string"},
        "PostalCode":{"type":"string"},
        "Plus4":{"type":"string"},
        "MelissaAddressKey":{"type":"string"},
        "MelissaAddressKeyBase":{"type":"string"},"
        "MoveDate":{"type":"string"}
      }
    "PreviousAddressRecords": [
      {
        "AddressLine1":{"type":"string"},
        "Suite":{"type":"string"},
        "City":{"type":"string"},
        "State":{"type":"string"},
        "PostalCode":{"type":"string"},
        "Plus4":{"type":"string"}
        "MelissaAddressKey":{"type":"string"},
        "MelissaAddressKeyBase":{"type":"string"},    
        "MoveDate":{"type":"string"},
      }
    ],
    "PhoneRecords": [
      {
        "Phone":{"type":"number"}
      }
    ],
    "EmailRecords": [
      {
        "Email":{"type":"string"}
      }
    ]
  }
  ]
}