Global Address Verification:Batch JSON: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 52: | Line 52: | ||
"SubNationalArea":"string", | "SubNationalArea":"string", | ||
"Country":"string" | "Country":"string" | ||
}] | }] | ||
} | } | ||
</pre> | </pre> | ||
==JSON Batch Response== | ==JSON Batch Response== |
Revision as of 22:04, 21 March 2018
Global Address Navigation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
| |||||||
| |||||||
| |||||||
Sample Code |
JSON Batch Request
A maximum of up to 100 records per request can be sent. You must have "Accept: application/json
" in the http header.
{ "TransmissionReference":"string", "CustomerID":"string", "Options":"string", "Records":[{ "RecordID":"string", "Organization":"string", "AddressLine1":"string", "AddressLine2":"string", "AddressLine3":"string", "AddressLine4":"string", "AddressLine5":"string", "AddressLine6":"string", "AddressLine7":"string", "AddressLine8":"string", "DoubleDependentLocality":"string", "DependentLocality":"string", "Locality":"string", "SubAdministrativeArea":"string", "AdministrativeArea":"string", "PostalCode":"string", "SubNationalArea":"string", "Country":"string" }, { "RecordID":"string", "Organization":"string", "AddressLine1":"string", "AddressLine2":"string", "AddressLine3":"string", "AddressLine4":"string", "AddressLine5":"string", "AddressLine6":"string", "AddressLine7":"string", "AddressLine8":"string", "DoubleDependentLocality":"string", "DependentLocality":"string", "Locality":"string", "SubAdministrativeArea":"string", "AdministrativeArea":"string", "PostalCode":"string", "SubNationalArea":"string", "Country":"string" }] }
JSON Batch Response
{ "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" }, { "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" }, { ... }] }