Global Phone:Batch JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:
"TransmissionReference":"string",
"TransmissionReference":"string",
"CustomerID":"string",
"CustomerID":"string",
“Options”:”string”,
"Options":"string",
"Records":
"Records":[
   [{
   {
     "RecordID":"string",
     "RecordID":"string",
     "PhoneNumber":"string",
     "PhoneNumber":"string",
     "Country":"string",
     "Country":"string",
     "CountryOfOrigin":"string"
     "CountryOfOrigin":"string"
   }]
   },
  [{
   {
    "RecordID":"string",
    "PhoneNumber":"string",
    "Country":"string",
    "CountryOfOrigin":"string"
  }]
   [{
     "RecordID":"string",
     "RecordID":"string",
     "PhoneNumber":"string",
     "PhoneNumber":"string",
     "Country":"string",
     "Country":"string",
     "CountryOfOrigin":"string"
     "CountryOfOrigin":"string"
  },
  {
    ...
   }]
   }]
}
}
Line 38: 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",
     “Carrier”:”String content”,
     "PhoneNumber":"string",
    “PhoneNumber”:"String content",
     "AdministrativeArea":"string",
    “PhoneInternationalPrefix”:"String content",
     "CountryAbbreviation":"string",
     “PhoneCountryDialingCode”:"String content",
     "CountryName ":"string",
    "PhoneNationPrefix":"String content",
     "Carrier":"string",
     "PhoneNationalDestinationCode":"String content",
     "CallerID":"string",
     "PhoneSubscriberNumber":"String content",
     "DST":"string",
     "Locality":"String content",
     "InternationalPhoneNumber":"string",
     "AdministrativeArea":"String content",
     "Language":"string",
     "CountryName ":"String content",
     "Latitude":"string",
    “CountryAbbreviation”:”String content”,
     "Locality":"string",
     "DST":"String content",
     "Longitude":"string",
     "UTC":"String content",
     "PhoneInternationalPrefix":"string",
     "Language":"String content",
     "PhoneCountryDialingCode":"string",
     "Latitude":"String content",
     "PhoneNationPrefix":"string",
     "Longitude":"String content"
     "PhoneNationalDestinationCode":"string",
  }],
     "PhoneSubscriberNumber":"string",
     [{
     "UTC":"string",
    “RecordID”:"String content",
     "PostalCode":"string",
     “Results”:"String content",
     "TimeZoneCode":"string",
    “Carrier”:”String content”,
     "TimeZoneName":"string"
    “PhoneNumber”:"String content",
  },
     “PhoneInternationalPrefix”:"String content",
  {
    “PhoneCountryDialingCode”:"String content",
     "RecordID":"string",
     "PhoneNationPrefix":"String content",
     "Results":"string",
     "PhoneNationalDestinationCode":"String content",
     "PhoneNumber":"string",
     "PhoneSubscriberNumber":"String content",
     "AdministrativeArea":"string",
     "Locality":"String content",
     "CountryAbbreviation":"string",
     "AdministrativeArea":"String content",
     "CountryName ":"string",
     "CountryName ":"String content",
     "Carrier":"string",
     “CountryAbbreviation”:”String content”,
     "CallerID":"string",
     "DST":"String content",
     "DST":"string",
     "UTC":"String content",
     "InternationalPhoneNumber":"string",
     "Language":"String content",
     "Language":"string",
     "Latitude":"String content",
     "Latitude":"string",
     "Longitude":"String content"
     "Locality":"string",
  }],
     "Longitude":"string",
     [{
     "PhoneInternationalPrefix":"string",
    “RecordID”:"String content",
     "PhoneCountryDialingCode":"string",
     “Results”:"String content",
     "PhoneNationPrefix":"string",
     “Carrier”:”String content”,
     "PhoneNationalDestinationCode":"string",
     “PhoneNumber”:"String content",
     "PhoneSubscriberNumber":"string",
     “PhoneInternationalPrefix”:"String content",
     "UTC":"string",
     “PhoneCountryDialingCode”:"String content",
     "PostalCode":"string",
     "PhoneNationPrefix":"String content",
     "TimeZoneCode":"string",
     "PhoneNationalDestinationCode":"String content",
     "TimeZoneName":"string"
     "PhoneSubscriberNumber":"String content",
  },
     "Locality":"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"
   }]
   }]
}
}

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"
  },
  {
    ...
  }]
}