Global Phone:REST JSON: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 23: | 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":[{}] }] }