Global Phone:Batch JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
<pre>
<pre>
{
{
"TransmissionReference":"String content",
"TransmissionReference":"string",
"CustomerID":"String content",
"CustomerID":"string",
“Options”:”String content”,
"Options":"string",
"Records":[
"Records":[
   {
   {
     "RecordID":"String content",
     "RecordID":"string",
     "PhoneNumber":"String content",
     "PhoneNumber":"string",
     "Country":"String content",
     "Country":"string",
     "CountryOfOrigin":"String content"
     "CountryOfOrigin":"string"
   },
   },
   {
   {
     "RecordID":"String content",
     "RecordID":"string",
     "PhoneNumber":"String content",
     "PhoneNumber":"string",
     "Country":"String content",
     "Country":"string",
     "CountryOfOrigin":"String content"
     "CountryOfOrigin":"string"
   },
   },
   {
   {
Line 35: Line 35:
<pre>
<pre>
{  
{  
   "Version":"String content",
   "Version":"string",
   "TransmissionReference":"String content",
   "TransmissionReference":"string",
   "TransmissionResults":"String content",
   "TransmissionResults":"string",
   "TotalRecords":"String content",
   "TotalRecords":"string",
   "Records":[
   "Records":[
   {
   {
     “RecordID”:"String content",
     "RecordID":"string",
     “Results”:"String content",
     "Results":"string",
     “PhoneNumber”:"String content",
     "PhoneNumber":"string",
     "AdministrativeArea":"String content",
     "AdministrativeArea":"string",
     “CountryAbbreviation”:”String content”,
     "CountryAbbreviation":"string",
     "CountryName ":"String content",
     "CountryName ":"string",
     “Carrier”:”String content”,
     "Carrier":"string",
     “CallerID”:”String content”,
     "CallerID":"string",
     "DST":"String content",
     "DST":"string",
     "InternationalPhoneNumber":"String content",
     "InternationalPhoneNumber":"string",
     "Language":"String content",
     "Language":"string",
     "Latitude":"String content",
     "Latitude":"string",
     "Locality":"String content",
     "Locality":"string",
     "Longitude":"String content",
     "Longitude":"string",
     “PhoneInternationalPrefix”:"String content",
     "PhoneInternationalPrefix":"string",
     “PhoneCountryDialingCode”:"String content",
     "PhoneCountryDialingCode":"string",
     "PhoneNationPrefix":"String content",
     "PhoneNationPrefix":"string",
     "PhoneNationalDestinationCode":"String content",
     "PhoneNationalDestinationCode":"string",
     "PhoneSubscriberNumber":"String content",
     "PhoneSubscriberNumber":"string",
     "UTC":"String content",
     "UTC":"string",
     "PostalCode":"String content"
     "PostalCode":"string",
    "TimeZoneCode":"string",
    "TimeZoneName":"string"
   },
   },
   {
   {
     “RecordID”:"String content",
     "RecordID":"string",
     “Results”:"String content",
     "Results":"string",
     “PhoneNumber”:"String content",
     "PhoneNumber":"string",
     "AdministrativeArea":"String content",
     "AdministrativeArea":"string",
     “CountryAbbreviation”:”String content”,
     "CountryAbbreviation":"string",
     "CountryName ":"String content",
     "CountryName ":"string",
     “Carrier”:”String content”,
     "Carrier":"string",
     “CallerID”:”String content”,
     "CallerID":"string",
     "DST":"String content",
     "DST":"string",
     "InternationalPhoneNumber":"String content",
     "InternationalPhoneNumber":"string",
     "Language":"String content",
     "Language":"string",
     "Latitude":"String content",
     "Latitude":"string",
     "Locality":"String content",
     "Locality":"string",
     "Longitude":"String content",
     "Longitude":"string",
     “PhoneInternationalPrefix”:"String content",
     "PhoneInternationalPrefix":"string",
     “PhoneCountryDialingCode”:"String content",
     "PhoneCountryDialingCode":"string",
     "PhoneNationPrefix":"String content",
     "PhoneNationPrefix":"string",
     "PhoneNationalDestinationCode":"String content",
     "PhoneNationalDestinationCode":"string",
     "PhoneSubscriberNumber":"String content",
     "PhoneSubscriberNumber":"string",
     "UTC":"String content",
     "UTC":"string",
     "PostalCode":"String content"
     "PostalCode":"string",
    "TimeZoneCode":"string",
    "TimeZoneName":"string"
   },
   },
   {
   {

Latest revision as of 21:46, 29 March 2018

← Global Phone

Global Phone Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Batch JSON
Result Codes
Result Code Use
Global Phone Result Codes
Sample Code



JSON Batch Request

{
"TransmissionReference":"string",
"CustomerID":"string",
"Options":"string",
"Records":[
  {
    "RecordID":"string",
    "PhoneNumber":"string",
    "Country":"string",
    "CountryOfOrigin":"string"
  },
  {
    "RecordID":"string",
    "PhoneNumber":"string",
    "Country":"string",
    "CountryOfOrigin":"string"
  },
  {
    ...
  }]
}


JSON Batch Response

{ 
  "Version":"string",
  "TransmissionReference":"string",
  "TransmissionResults":"string",
  "TotalRecords":"string",
  "Records":[
  {
    "RecordID":"string",
    "Results":"string",
    "PhoneNumber":"string",
    "AdministrativeArea":"string",
    "CountryAbbreviation":"string",
    "CountryName ":"string",
    "Carrier":"string",
    "CallerID":"string",
    "DST":"string",
    "InternationalPhoneNumber":"string",
    "Language":"string",
    "Latitude":"string",
    "Locality":"string",
    "Longitude":"string",
    "PhoneInternationalPrefix":"string",
    "PhoneCountryDialingCode":"string",
    "PhoneNationPrefix":"string",
    "PhoneNationalDestinationCode":"string",
    "PhoneSubscriberNumber":"string",
    "UTC":"string",
    "PostalCode":"string",
    "TimeZoneCode":"string",
    "TimeZoneName":"string"
  },
  {
    "RecordID":"string",
    "Results":"string",
    "PhoneNumber":"string",
    "AdministrativeArea":"string",
    "CountryAbbreviation":"string",
    "CountryName ":"string",
    "Carrier":"string",
    "CallerID":"string",
    "DST":"string",
    "InternationalPhoneNumber":"string",
    "Language":"string",
    "Latitude":"string",
    "Locality":"string",
    "Longitude":"string",
    "PhoneInternationalPrefix":"string",
    "PhoneCountryDialingCode":"string",
    "PhoneNationPrefix":"string",
    "PhoneNationalDestinationCode":"string",
    "PhoneSubscriberNumber":"string",
    "UTC":"string",
    "PostalCode":"string",
    "TimeZoneCode":"string",
    "TimeZoneName":"string"
  },
  {
    ...
  }]
}