Global Phone:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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",
     “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",
     "InternationalPhoneNumber":"String content",
     "PhoneInternationalPrefix":"string",
     "UTC":"String content",
     "PhoneCountryDialingCode":"string",
     "Language":"String content",
     "PhoneNationPrefix":"string",
     "Latitude":"String content",
     "PhoneNationalDestinationCode":"string",
     "Longitude":"String content",
     "PhoneSubscriberNumber":"string",
     "PostalCode":"String content",
     "UTC":"string",
     “Suggestions”:[{}]
     "PostalCode":"string",
     "TimeZoneCode":"string",
     "TimeZoneName":"string",
     "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":[{}]
  }]
}