Global Name:Batch JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{GlobalNameNav |ExampleCollapse= }} {{CustomTOC}} ==JSON Batch Request== A maximum of up to 100 records per request can be sent. <pre> { "TransmissionReference":"string"..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{GlobalNameNav
{{GlobalNameNav
|ExampleCollapse=
|ExamplesCollapse=
}}
}}


Line 8: Line 8:
==JSON Batch Request==
==JSON Batch Request==
A maximum of up to 100 records per request can be sent.
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>
{
{
Line 52: Line 60:
     "NameLast2":"string",
     "NameLast2":"string",
     "NameSuffix2":"string",
     "NameSuffix2":"string",
     "Gender2":"string"
     "Gender2":"string",
    "Salutation":"string",
    "NameProfTitle":"string",
    "NameNickname":"string",
    "NameProfTitle2":"string",
    "NameNickname2":"string",
    "Extras":"string"
   },
   },
   {
   {
Line 69: Line 83:
     "NameLast2":"string",
     "NameLast2":"string",
     "NameSuffix2":"string",
     "NameSuffix2":"string",
     "Gender2":"string"
     "Gender2":"string",
    "Salutation":"string",
    "NameProfTitle":"string",
    "NameNickname":"string",
    "NameProfTitle2":"string",
    "NameNickname2":"string",
    "Extras":"string"
   },
   },
   {
   {

Latest revision as of 19:51, 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



JSON 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

{
  "TransmissionReference":"string",
  "CustomerID":"string",
  "Options":"string",
  "Records":[{
    "RecordID":"string",
    "Company":"string",
    "FullName":"string"
  },
  {
    "RecordID":"string",
    "Company":"string",
    "FullName":"string"
  },
  {
    ...
  }]
}


JSON Batch 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",
    "Salutation":"string",
    "NameProfTitle":"string",
    "NameNickname":"string",
    "NameProfTitle2":"string",
    "NameNickname2":"string",
    "Extras":"string"
  },
  {
    "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",
    "Salutation":"string",
    "NameProfTitle":"string",
    "NameNickname":"string",
    "NameProfTitle2":"string",
    "NameNickname2":"string",
    "Extras":"string"
  },
  {
    ...
  }]
}