Global Name:Batch XML: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:


==XML Batch Request==
==XML Batch Request==
A maximum of up to 100 records per request can be sent. You must have "'''<code>Accept: application/xml</code>'''" in the http header.  
A maximum of up to 100 records per request can be sent.


===Request Header===
The HTTPS header requires the following values:
<pre>Content-Type: application/json
Accept: application/json
</pre>
===Request Body===
<pre>
<pre>
<Request>
<Request>
Line 58: Line 65:
       <NameSuffix2>string</NameSuffix2>
       <NameSuffix2>string</NameSuffix2>
       <Gender2>string</Gender2>
       <Gender2>string</Gender2>
      <Salutation>string</Salutation>
      <NameProfTitle>string</NameProfTitle>
      <NameNickname>string</NameNickname>
      <NameProfTitle2>string</NameProfTitle2>
      <NameNickname2>string</NameNickname2>
      <Extras>string</Extras>
     </ResponseRecord>
     </ResponseRecord>
     <ResponseRecord>
     <ResponseRecord>
Line 75: Line 88:
       <NameSuffix2>string</NameSuffix2>
       <NameSuffix2>string</NameSuffix2>
       <Gender2>string</Gender2>
       <Gender2>string</Gender2>
      <Salutation>string</Salutation>
      <NameProfTitle>string</NameProfTitle>
      <NameNickname>string</NameNickname>
      <NameProfTitle2>string</NameProfTitle2>
      <NameNickname2>string</NameNickname2>
      <Extras>string</Extras>
     </ResponseRecord>
     </ResponseRecord>
     <ResponseRecord>
     <ResponseRecord>

Latest revision as of 19:54, 29 February 2024

← 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



XML Batch Request

A maximum of up to 100 records per request can be sent.

Request Header

The HTTPS header requires the following values:

Content-Type: application/json
Accept: application/json

Request Body

<Request>
  <TransmissionReference>string</TransmissionReference>
  <CustomerID>string</CustomerID>
  <Options>string</Options>
  <Records>
    <RequestRecord>
      <RecordID>string</RecordID>
      <Company>string</Company>
      <FullName>string</FullName>
    </RequestRecord>
    <RequestRecord>
      <RecordID>string</RecordID>
      <Company>string</Company>
      <FullName>string</FullName>
    </RequestRecord>
    <RequestRecord>
      ...
    </RequestRecord>
  </Records>
</Request>


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>
      <Salutation>string</Salutation>
      <NameProfTitle>string</NameProfTitle>
      <NameNickname>string</NameNickname>
      <NameProfTitle2>string</NameProfTitle2>
      <NameNickname2>string</NameNickname2>
      <Extras>string</Extras>
    </ResponseRecord>
    <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>
      <Salutation>string</Salutation>
      <NameProfTitle>string</NameProfTitle>
      <NameNickname>string</NameNickname>
      <NameProfTitle2>string</NameProfTitle2>
      <NameNickname2>string</NameNickname2>
      <Extras>string</Extras>
    </ResponseRecord>
    <ResponseRecord>
      ...
    </ResponseRecord>
  </Records>
</Response>