Global Phone:REST JSON: Difference between revisions
Jump to navigation
Jump to search
m Admin moved page Global Phone V4:REST JSON to Global Phone:REST JSON without leaving a redirect |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
?t={TransmissionReference} | ?t={TransmissionReference} | ||
&id={CustomerId} | &id={CustomerId} | ||
&opt={Options} | &opt={Options} | ||
&phone={PhoneNumber} | &phone={PhoneNumber} | ||
Line 24: | Line 23: | ||
<pre> | <pre> | ||
{ | { | ||
"Version":" | "Version":"string", | ||
"TransmissionReference":" | "TransmissionReference":"string", | ||
"TransmissionResults":" | "TransmissionResults":"string", | ||
"TotalRecords":" | "TotalRecords":"string", | ||
"Records":[{ | "Records":[{ | ||
"RecordID":"string", | |||
"Results":"string", | |||
"PhoneNumber":"string", | |||
"AdministrativeArea":"string", | |||
"CountryAbbreviation":"string", | |||
"CountryName ":"string", | |||
" | "Carrier":"string", | ||
" | "CallerID":"string", | ||
" | "DST":"string", | ||
"Locality":" | "InternationalPhoneNumber":"string", | ||
" | "Language":"string", | ||
" | "Latitude":"string", | ||
"Locality":"string", | |||
" | "Longitude":"string", | ||
"UTC":" | "PhoneInternationalPrefix":"string", | ||
" | "PhoneCountryDialingCode":"string", | ||
" | "PhoneNationPrefix":"string", | ||
" | "PhoneNationalDestinationCode":"string", | ||
"PhoneSubscriberNumber":"string", | |||
"UTC":"string", | |||
"PostalCode":"string", | |||
"TimeZoneCode":"string", | |||
"TimeZoneName":"string", | |||
"Suggestions":[{}] | |||
}] | }] | ||
} | } |
Latest revision as of 21:45, 29 March 2018
Global Phone Navigation | |||
---|---|---|---|
| |||
| |||
| |||
| |||
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":[{}] }] }