Global Phone:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 42: Line 42:
     “CountryAbbreviation”:”String content”,
     “CountryAbbreviation”:”String content”,
     "DST":"String content",
     "DST":"String content",
    "InternationalPhoneNumber":"String content",
     "UTC":"String content",
     "UTC":"String content",
     "Language":"String content",
     "Language":"String content",
     "Latitude":"String content",
     "Latitude":"String content",
     "Longitude":"String content",
     "Longitude":"String content",
    "PostalCode":"String content",
     “Suggestions”:[{}]
     “Suggestions”:[{}]
   }]
   }]

Revision as of 23:20, 29 September 2016

← 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 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",
    "InternationalPhoneNumber":"String content",
    "UTC":"String content",
    "Language":"String content",
    "Latitude":"String content",
    "Longitude":"String content",
    "PostalCode":"String content",
    “Suggestions”:[{}]
  }]
}