Global Phone:Batch JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 48: Line 48:
     "CountryName ":"String content",
     "CountryName ":"String content",
     “Carrier”:”String content”,
     “Carrier”:”String content”,
    “CallerID”:”String content”,
     "DST":"String content",
     "DST":"String content",
     "InternationalPhoneNumber":"String content",
     "InternationalPhoneNumber":"String content",
Line 53: Line 54:
     "Latitude":"String content",
     "Latitude":"String content",
     "Locality":"String content",
     "Locality":"String content",
     "Longitude":"String content"
     "Longitude":"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneCountryDialingCode”:"String content",
     “PhoneCountryDialingCode”:"String content",
Line 70: Line 71:
     "CountryName ":"String content",
     "CountryName ":"String content",
     “Carrier”:”String content”,
     “Carrier”:”String content”,
    “CallerID”:”String content”,
     "DST":"String content",
     "DST":"String content",
     "InternationalPhoneNumber":"String content",
     "InternationalPhoneNumber":"String content",
Line 75: Line 77:
     "Latitude":"String content",
     "Latitude":"String content",
     "Locality":"String content",
     "Locality":"String content",
     "Longitude":"String content"
     "Longitude":"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneInternationalPrefix”:"String content",
     “PhoneCountryDialingCode”:"String content",
     “PhoneCountryDialingCode”:"String content",

Revision as of 23:17, 13 January 2017

← 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”,
    “CallerID”:”String content”,
    "DST":"String content",
    "InternationalPhoneNumber":"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",
    "PostalCode":"String content"
  },
  {
    “RecordID”:"String content",
    “Results”:"String content",
    “PhoneNumber”:"String content",
    "AdministrativeArea":"String content",
    “CountryAbbreviation”:”String content”,
    "CountryName ":"String content",
    “Carrier”:”String content”,
    “CallerID”:”String content”,
    "DST":"String content",
    "InternationalPhoneNumber":"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",
    "PostalCode":"String content"
  },
  {
    ...
  }]
}