Global Phone:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{GlobalPhoneV4Nav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== There is no recordID element because a REST request can only submit one record per request: <pre> ht..."
 
No edit summary
Line 1: Line 1:
{{GlobalPhoneV4Nav
{{GlobalPhoneNav
|ExampleCollapse=
|ExampleCollapse=
}}
}}
Line 53: Line 53:




[[Category:Global Phone V4]]
[[Category:Global Phone]]
[[Category:Reference]]
[[Category:Reference]]

Revision as of 23:12, 2 May 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}
&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”:[{}]
  }]
}