Global Phone:Batch JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
<pre>
<pre>
{
{
"TransmissionReference":"string",
"TransmissionReference":"String content",
"CustomerID":"string",
"CustomerID":"String content",
“Options”:”string”,
“Options”:”String content”,
"Records":
"Records":[
   [{
   {
     "RecordID":"string",
     "RecordID":"String content",
     "PhoneNumber":"string",
     "PhoneNumber":"String content",
     "Country":"string",
     "Country":"String content",
     "CountryOfOrigin":"string"
     "CountryOfOrigin":"String content"
   }]
   },
  [{
   {
    "RecordID":"string",
     "RecordID":"String content",
    "PhoneNumber":"string",
     "PhoneNumber":"String content",
    "Country":"string",
     "Country":"String content",
    "CountryOfOrigin":"string"
     "CountryOfOrigin":"String content"
   }]
  [{
     "RecordID":"string",
     "PhoneNumber":"string",
     "Country":"string",
     "CountryOfOrigin":"string"
   }]
   }]
}
}
Line 42: Line 36:
   "TransmissionResults":"String content",
   "TransmissionResults":"String content",
   "TotalRecords":"String content",
   "TotalRecords":"String content",
   "Records":
   "Records":[
   [{
   {
     “RecordID”:"String content",
     “RecordID”:"String content",
     “Results”:"String content",
     “Results”:"String content",
    “Carrier”:”String content”,
     “PhoneNumber”:"String content",
     “PhoneNumber”:"String content",
    “PhoneInternationalPrefix”:"String content",
    “PhoneCountryDialingCode”:"String content",
    "PhoneNationPrefix":"String content",
    "PhoneNationalDestinationCode":"String content",
    "PhoneSubscriberNumber":"String content",
    "Locality":"String content",
     "AdministrativeArea":"String content",
     "AdministrativeArea":"String content",
    “CountryAbbreviation”:”String content”,
     "CountryName ":"String content",
     "CountryName ":"String content",
     “CountryAbbreviation”:”String content”,
     “Carrier”:”String content”,
     "DST":"String content",
     "DST":"String content",
    "UTC":"String content",
     "Language":"String content",
     "Language":"String content",
     "Latitude":"String content",
     "Latitude":"String content",
    "Locality":"String content",
     "Longitude":"String content"
     "Longitude":"String content"
  }],
    [{
    “RecordID”:"String content",
    “Results”:"String content",
    “Carrier”:”String content”,
    “PhoneNumber”:"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneCountryDialingCode”:"String content",
     “PhoneCountryDialingCode”:"String content",
Line 73: Line 55:
     "PhoneNationalDestinationCode":"String content",
     "PhoneNationalDestinationCode":"String content",
     "PhoneSubscriberNumber":"String content",
     "PhoneSubscriberNumber":"String content",
     "Locality":"String content",
     "UTC":"String content"
  },
  {
    “RecordID”:"String content",
    “Results”:"String content",
    “PhoneNumber”:"String content",
     "AdministrativeArea":"String content",
     "AdministrativeArea":"String content",
    “CountryAbbreviation”:”String content”,
     "CountryName ":"String content",
     "CountryName ":"String content",
     “CountryAbbreviation”:”String content”,
     “Carrier”:”String content”,
     "DST":"String content",
     "DST":"String content",
    "UTC":"String content",
     "Language":"String content",
     "Language":"String content",
     "Latitude":"String content",
     "Latitude":"String content",
    "Locality":"String content",
     "Longitude":"String content"
     "Longitude":"String content"
  }],
    [{
    “RecordID”:"String content",
    “Results”:"String content",
    “Carrier”:”String content”,
    “PhoneNumber”:"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneCountryDialingCode”:"String content",
     “PhoneCountryDialingCode”:"String content",
Line 93: Line 75:
     "PhoneNationalDestinationCode":"String content",
     "PhoneNationalDestinationCode":"String content",
     "PhoneSubscriberNumber":"String content",
     "PhoneSubscriberNumber":"String content",
    "Locality":"String content",
     "UTC":"String content"
    "AdministrativeArea":"String content",
    "CountryName ":"String content",
    “CountryAbbreviation”:”String content”,
    "DST":"String content",
     "UTC":"String content",
    "Language":"String content",
    "Latitude":"String content",
    "Longitude":"String content"
   }]
   }]
}
}

Revision as of 22:37, 20 July 2016

← 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 content",
"CustomerID":"String content",
“Options”:”String content”,
"Records":[
  {
    "RecordID":"String content",
    "PhoneNumber":"String content",
    "Country":"String content",
    "CountryOfOrigin":"String content"
  },
  {
    "RecordID":"String content",
    "PhoneNumber":"String content",
    "Country":"String content",
    "CountryOfOrigin":"String content"
  }]
}


JSON Batch Response

{ 
  "Version":"String content",
  "TransmissionReference":"String content",
  "TransmissionResults":"String content",
  "TotalRecords":"String content",
  "Records":[
  {
    “RecordID”:"String content",
    “Results”:"String content",
    “PhoneNumber”:"String content",
    "AdministrativeArea":"String content",
    “CountryAbbreviation”:”String content”,
    "CountryName ":"String content",
    “Carrier”:”String content”,
    "DST":"String content",
    "Language":"String content",
    "Latitude":"String content",
    "Locality":"String content",
    "Longitude":"String content"
    “PhoneInternationalPrefix”:"String content",
    “PhoneCountryDialingCode”:"String content",
    "PhoneNationPrefix":"String content",
    "PhoneNationalDestinationCode":"String content",
    "PhoneSubscriberNumber":"String content",
    "UTC":"String content"
  },
  {
    “RecordID”:"String content",
    “Results”:"String content",
    “PhoneNumber”:"String content",
    "AdministrativeArea":"String content",
    “CountryAbbreviation”:”String content”,
    "CountryName ":"String content",
    “Carrier”:”String content”,
    "DST":"String content",
    "Language":"String content",
    "Latitude":"String content",
    "Locality":"String content",
    "Longitude":"String content"
    “PhoneInternationalPrefix”:"String content",
    “PhoneCountryDialingCode”:"String content",
    "PhoneNationPrefix":"String content",
    "PhoneNationalDestinationCode":"String content",
    "PhoneSubscriberNumber":"String content",
    "UTC":"String content"
  }]
}