Global Name:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{GlobalNameNav
{{GlobalNameNav
|ExampleCollapse=
|ExamplesCollapse=
}}
}}



Revision as of 19:35, 14 October 2016

← Global Name

Global Name Navigation
Introduction
Licensing
Input/Request
Request Fields
Response Fields
Examples
REST JSON
REST JSONP
REST XML
Batch JSON
Batch SOAP
Batch XML
Result Codes
Result Code Use
Global Name Result Codes
Sample Code



REST Request

There is no recordID element because a REST request can only submit one record per request.

http://globalname.melissadata.net/V3/WEB/GlobalName/doGlobalName
?t={TransmissionReference}
&id={CustomerId}
&opt={Options}
&comp={Company}
&full={FullName}
&format=json


JSON Response

{ 
  "Version":"string",
  "TransmissionReference":"string",
  "TransmissionResults":"string",
  "TotalRecords":"string",
  "Records":[{
    "RecordID":"string",
    "Results":"string",
    "Company":"string",
    "NamePrefix":"string",
    "NameFirst":"string",
    "NameMiddle":"string",
    "NameLast":"string",
    "NameSuffix":"string",
    "Gender":"string",
    "NamePrefix2":"string",
    "NameFirst2":"string",
    "NameMiddle2":"string",
    "NameLast2":"string",
    "NameSuffix2":"string",
    "Gender2":"string"
  }]
}