Global Address Verification:REST JSONP: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{GlobalAddressVerificationNav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== There is no recordID element because a REST request can only submit one record per reques..." |
No edit summary |
||
Line 34: | Line 34: | ||
== | ==JSONP Response== | ||
<pre> | <pre> | ||
jsonp{ | jsonp{ |
Revision as of 19:09, 30 August 2016
Global Address Navigation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
| |||||||
| |||||||
| |||||||
Sample Code |
REST Request
There is no recordID element because a REST request can only submit one record per request.
http://address.melissadata.net/V3/WEB/GlobalAddress/doGlobalAddress ?t={TransmissionReference} &id={CustomerId} &opt={Options} &org={Organization} &a1={AddressLine1} &a2={AddressLine2} &a3={AddressLine3} &a4={AddressLine4} &a5={AddressLine5} &a6={AddressLine6} &a7={AddressLine7} &a8={AddressLine8} &ddeploc={DoubleDependentLocality} &deploc={DependentLocality} &loc={Locality} &subadmarea={SubAdministrativeArea} &admarea={AdinistrativeArea} &subnatarea={SubNationalArea} &postal={PostalCode} &ctry={Country}
JSONP Response
jsonp{ "Version":"string", "TransmissionReference":"string", "TransmissionResults":"string", "TotalRecords":"string", "Records":[{ "RecordID":"string", "Results":"string", "FormattedAddress":"string", "Organization":"string", "AddressLine1":"string", "AddressLine2":"string", "AddressLine3":"string", "AddressLine4":"string", "AddressLine5":"string", "AddressLine6":"string", "AddressLine7":"string", "AddressLine8":"string", "SubPremises":"string", "DoubleDependentLocality":"string", "DependentLocality":"string", "Locality":"string", "SubAdministrativeArea":"string", "AdministrativeArea":"string", "PostalCode":"string", "AddressType":"string", "AddressKey":"string", "SubNationalArea":"string", "CountryName":"string", "CountryISO3166_1_Alpha2":"string", "CountryISO3166_1_Alpha3":"string", "CountryISO3166_1_Numeric":"string", "Thoroughfare":"string", "ThoroughfarePreDirection":"string", "ThoroughfareLeadingType":"string", "ThoroughfareName":"string", "ThoroughfareTrailingType":"string", "ThoroughfarePostDirection":"string", "DependentThoroughfare":"string", "DependentThoroughfarePreDirection":"string", "DependentThoroughfareLeadingType":"string", "DependentThoroughfareName":"string", "DependentThoroughfareTrailingType":"string", "DependentThoroughfarePostDirection":"string", "Building":"string", "PremisesType":"string", "PremisesNumber":"string", "SubPremisesType":"string", "SubPremisesNumber":"string", "PostBox":"string", "Latitude":"string", "Longitude":"string" }] }