Global Phone:REST JSON

From Melissa Data Wiki
Revision as of 23:12, 2 May 2016 by Admin (talk | contribs)
Jump to navigation Jump to search

← 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}
&defaultCallingCode={DefaultCallingCode}
&opt={Options}
&phone={PhoneNumber}
&ctry={Country}
&ctryOrg={CountryOfOrigin}


JSON Response

{ 
  "Version":"String content",
  "TransmissionReference":"String content",
  "TransmissionResults":"String content",
  "TotalRecords":"String content",
  "Records":[{
    “RecordID”:"String content",
    “Results”:"String content",
    “Carrier”:”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",
    "CountryName ":"String content",
    “CountryAbbreviation”:”String content”,
    "DST":"String content",
    "UTC":"String content",
    "Language":"String content",
    "Latitude":"String content",
    "Longitude":"String content",
    “Suggestions”:[{}]
  }]
}