Global Address Verification:REST XML: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
==XML Response== | ==XML Response== | ||
<pre> | <pre> | ||
<?xml version="1.0"?> | |||
<Response xmlns="urn:mdGlobalAddress"> | <Response xmlns="urn:mdGlobalAddress"> | ||
<Version>String content</Version> | <Version>String content</Version> |
Revision as of 20:19, 6 October 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} &format=XML
XML Response
<?xml version="1.0"?> <Response xmlns="urn:mdGlobalAddress"> <Version>String content</Version> <TransmissionReference>String content</TransmissionReference> <TransmissionResults>String content</TransmissionResults> <TotalRecords>String content</TotalRecords> <Records> <ResponseRecord> <RecordID>String content</RecordID> <Results>String content</Results> <FormattedAddress>String content</FormattedAddress> <Organization>String content</Organization> <AddressLine1>String content</AddressLine1> <AddressLine2>String content</AddressLine2> <AddressLine3>String content</AddressLine3> <AddressLine4>String content</AddressLine4> <AddressLine5>String content</AddressLine5> <AddressLine6>String content</AddressLine6> <AddressLine7>String content</AddressLine7> <AddressLine8>String content</AddressLine8> <SubPremises>String content</SubPremises> <DoubleDependentLocality>String content</DoubleDependentLocality> <DependentLocality>String content</DependentLocality> <Locality>String content</Locality> <SubAdministrativeArea>String content</SubAdministrativeArea> <AdministrativeArea>String content</AdministrativeArea> <PostalCode>String content</PostalCode> <AddressType>String content</AddressType> <AddressKey>String content</AddressKey> <SubNationalArea>String content</SubNationalArea> <CountryName>String content</CountryName> <CountryISO3166_1_Alpha2>String content</CountryISO3166_1_Alpha2> <CountryISO3166_1_Alpha3>String content</CountryISO3166_1_Alpha3> <CountryISO3166_1_Numeric>String content</CountryISO3166_1_Numeric> <Thoroughfare>String content</Thoroughfare> <ThoroughfarePreDirection>String content</ThoroughfarePreDirection> <ThoroughfareLeadingType>String content</ThoroughfareLeadingType> <ThoroughfareName>String content</ThoroughfareName> <ThoroughfareTrailingType>String content</ThoroughfareTrailingType> <ThoroughfarePostDirection>String content</ThoroughfarePostDirection> <DependentThoroughfare>String content</DependentThoroughfare> <DependentThoroughfarePreDirection>String content</DependentThoroughfarePreDirection> <DependentThoroughfareLeadingType>String content</DependentThoroughfareLeadingType> <DependentThoroughfareName>String content</DependentThoroughfareName> <DependentThoroughfareTrailingType>String content</DependentThoroughfareTrailingType> <DependentThoroughfarePostDirection>String content</DependentThoroughfarePostDirection> <Building>String content</Building> <PremisesType>String content</PremisesType> <PremisesNumber>String content</PremisesNumber> <SubPremisesType>String content</SubPremisesType> <SubPremisesNumber>String content</SubPremisesNumber> <PostBox>String content</PostBox> <Latitude>String content</Latitude> <Longitude>String content</Longitude> </ResponseRecord> </Records> </Response>