Global Phone:REST JSON: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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":" | "AdministrativeArea":"string", | ||
"CountryAbbreviation":"string", | |||
"CountryName ":" | "CountryName ":"string", | ||
"Carrier":"string", | |||
"CallerID":"string", | |||
"DST":" | "DST":"string", | ||
"InternationalPhoneNumber":" | "InternationalPhoneNumber":"string", | ||
"Language":" | "Language":"string", | ||
"Latitude":" | "Latitude":"string", | ||
"Locality":" | "Locality":"string", | ||
"Longitude":" | "Longitude":"string", | ||
"PhoneInternationalPrefix":"string", | |||
"PhoneCountryDialingCode":"string", | |||
"PhoneNationPrefix":" | "PhoneNationPrefix":"string", | ||
"PhoneNationalDestinationCode":" | "PhoneNationalDestinationCode":"string", | ||
"PhoneSubscriberNumber":" | "PhoneSubscriberNumber":"string", | ||
"UTC":" | "UTC":"string", | ||
"PostalCode":" | "PostalCode":"string", | ||
"TimeZoneCode":" | "TimeZoneCode":"string", | ||
"TimeZoneName":" | "TimeZoneName":"string", | ||
"Suggestions":[{}] | "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":[{}] }] }