Global Phone:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 23: Line 23:
<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 content",
     "TimeZoneCode":"string",
     "TimeZoneName":"String content",
     "TimeZoneName":"string",
     "Suggestions":[{}]
     "Suggestions":[{}]
   }]
   }]

Latest revision as of 21:45, 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



REST Request

There is no recordID element because a REST request can only submit one record per request:

http://globalphone.melissadata.net/V4/WEB/GlobalPhone/doGlobalPhone
?t={TransmissionReference}
&id={CustomerId}
&opt={Options}
&phone={PhoneNumber}
&ctry={Country}
&ctryOrg={CountryOfOrigin}


JSON 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",
    "Suggestions":[{}]
  }]
}