Difference between revisions of "Global Name:REST XML"

From Melissa Data Wiki
Jump to navigation Jump to search
 
Line 10: Line 10:
  
 
<pre>
 
<pre>
http://globalname.melissadata.net/V3/WEB/GlobalName/doGlobalName
+
https://globalname.melissadata.net/V3/WEB/GlobalName/doGlobalName
 
?t={TransmissionReference}
 
?t={TransmissionReference}
 
&id={CustomerId}
 
&id={CustomerId}

Latest revision as of 20:25, 21 June 2021

← 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.

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


XML Batch Response

<?xml version="1.0"?>
<Response xmlns=urn:mdGlobalName xmlns:i=http://www.w3.org/2001/XMLSchema-instance>
  <Version>string</Version>
  <TransmissionReference>string</TransmissionReference>
  <TransmissionResults>string</TransmissionResults>
  <TotalRecords>string</TotalRecords>
  <Records>
    <ResponseRecord>
      <RecordID>string</RecordID>
      <Results>string</Results>
      <Company>string</Company>
      <NamePrefix>string</NamePrefix>
      <NameFirst>string</NameFirst>
      <NameMiddle>string</NameMiddle>
      <NameLast>string</NameLast>
      <NameSuffix>string</NameSuffix>
      <Gender>string</Gender>
      <NamePrefix2>string</NamePrefix2>
      <NameFirst2>string</NameFirst2>
      <NameMiddle2>string</NameMiddle2>
      <NameLast2>string</NameLast2>
      <NameSuffix2>string</NameSuffix2>
      <Gender2>string</Gender2>
    </ResponseRecord>
  </Records>
</Response>