Global Address Verification:REST XML: 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 10: | Line 10: | ||
<pre> | <pre> | ||
https://address.melissadata.net/V3/WEB/GlobalAddress/doGlobalAddress | |||
?t={TransmissionReference} | ?t={TransmissionReference} | ||
&id={CustomerId} | &id={CustomerId} | ||
Line 37: | Line 37: | ||
==XML Response== | ==XML Response== | ||
<pre> | <pre> | ||
<?xml version="1.0"?> | |||
<Response xmlns="urn:mdGlobalAddress"> | <Response xmlns="urn:mdGlobalAddress"> | ||
<Version> | <Version>string</Version> | ||
<TransmissionReference> | <TransmissionReference>string</TransmissionReference> | ||
<TransmissionResults> | <TransmissionResults>string</TransmissionResults> | ||
<TotalRecords> | <TotalRecords>string</TotalRecords> | ||
<Records> | <Records> | ||
<ResponseRecord> | <ResponseRecord> | ||
<RecordID> | <RecordID>string</RecordID> | ||
<Results> | <Results>string</Results> | ||
<FormattedAddress> | <FormattedAddress>string</FormattedAddress> | ||
<Organization> | <Organization>string</Organization> | ||
<AddressLine1> | <AddressLine1>string</AddressLine1> | ||
<AddressLine2> | <AddressLine2>string</AddressLine2> | ||
<AddressLine3> | <AddressLine3>string</AddressLine3> | ||
<AddressLine4> | <AddressLine4>string</AddressLine4> | ||
<AddressLine5> | <AddressLine5>string</AddressLine5> | ||
<AddressLine6> | <AddressLine6>string</AddressLine6> | ||
<AddressLine7> | <AddressLine7>string</AddressLine7> | ||
<AddressLine8> | <AddressLine8>string</AddressLine8> | ||
<SubPremises> | <SubPremises>string</SubPremises> | ||
<DoubleDependentLocality> | <DoubleDependentLocality>string</DoubleDependentLocality> | ||
<DependentLocality> | <DependentLocality>string</DependentLocality> | ||
<Locality> | <Locality>string</Locality> | ||
<SubAdministrativeArea> | <SubAdministrativeArea>string</SubAdministrativeArea> | ||
<AdministrativeArea> | <AdministrativeArea>string</AdministrativeArea> | ||
<PostalCode> | <PostalCode>string</PostalCode> | ||
<AddressType> | <PostalCodeType>string</PostalCodeType> | ||
<AddressKey> | <AddressType>string</AddressType> | ||
<SubNationalArea> | <AddressKey>string</AddressKey> | ||
<CountryName> | <SubNationalArea>string</SubNationalArea> | ||
<CountryISO3166_1_Alpha2> | <CountryName>string</CountryName> | ||
<CountryISO3166_1_Alpha3> | <CountryISO3166_1_Alpha2>string</CountryISO3166_1_Alpha2> | ||
<CountryISO3166_1_Numeric> | <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3> | ||
<Thoroughfare> | <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric> | ||
<ThoroughfarePreDirection> | <CountrySubdivisionCode>string</CountrySubdivisionCode> | ||
<ThoroughfareLeadingType> | <Thoroughfare>string</Thoroughfare> | ||
<ThoroughfareName> | <ThoroughfarePreDirection>string</ThoroughfarePreDirection> | ||
<ThoroughfareTrailingType> | <ThoroughfareLeadingType>string</ThoroughfareLeadingType> | ||
<ThoroughfarePostDirection> | <ThoroughfareName>string</ThoroughfareName> | ||
<DependentThoroughfare> | <ThoroughfareTrailingType>string</ThoroughfareTrailingType> | ||
<DependentThoroughfarePreDirection> | <ThoroughfarePostDirection>string</ThoroughfarePostDirection> | ||
<DependentThoroughfareLeadingType> | <DependentThoroughfare>string</DependentThoroughfare> | ||
<DependentThoroughfareName> | <DependentThoroughfarePreDirection>string</DependentThoroughfarePreDirection> | ||
<DependentThoroughfareTrailingType> | <DependentThoroughfareLeadingType>string</DependentThoroughfareLeadingType> | ||
<DependentThoroughfarePostDirection> | <DependentThoroughfareName>string</DependentThoroughfareName> | ||
<Building> | <DependentThoroughfareTrailingType>string</DependentThoroughfareTrailingType> | ||
<PremisesType> | <DependentThoroughfarePostDirection>string</DependentThoroughfarePostDirection> | ||
<PremisesNumber> | <Building>string</Building> | ||
<SubPremisesType> | <PremisesType>string</PremisesType> | ||
<SubPremisesNumber> | <PremisesNumber>string</PremisesNumber> | ||
<PostBox> | <SubPremisesType>string</SubPremisesType> | ||
<Latitude> | <SubPremisesNumber>string</SubPremisesNumber> | ||
<Longitude> | <PostBox>string</PostBox> | ||
<Latitude>string</Latitude> | |||
<Longitude>string</Longitude> | |||
<DeliveryIndicator>string</DeliveryIndicator> | |||
<MelissaAddressKey>string</MelissaAddressKey> | |||
<MelissaAddressKeyBase>string</MelissaAddressKeyBase> | |||
<PostOfficeLocation>string</PostOfficeLocation> | |||
<SubPremiseLevel>string</SubPremiseLevel> | |||
<SubPremiseLevelType>string</SubPremiseLevelType> | |||
<SubPremiseLevelNumber>string</SubPremiseLevelNumber> | |||
<SubBuilding>string</SubBuilding> | |||
<SubBuildingType>string</SubBuildingType> | |||
<SubBuildingNumber>string</SubBuildingNumber> | |||
<UTC>string</UTC> | |||
<DST>string</DST> | |||
<DeliveryPointSuffix>string</DeliveryPointSuffix> | |||
<CensusKey>string</CensusKey> | |||
<Extras/> | |||
</ResponseRecord> | </ResponseRecord> | ||
</Records> | </Records> |
Latest revision as of 16:43, 13 February 2024
Global Address Navigation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
| |||||||
| |||||||
| |||||||
Sample Code |
REST Request
There is no recordID element because a REST request can only submit one record per request.
https://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</Version> <TransmissionReference>string</TransmissionReference> <TransmissionResults>string</TransmissionResults> <TotalRecords>string</TotalRecords> <Records> <ResponseRecord> <RecordID>string</RecordID> <Results>string</Results> <FormattedAddress>string</FormattedAddress> <Organization>string</Organization> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <AddressLine4>string</AddressLine4> <AddressLine5>string</AddressLine5> <AddressLine6>string</AddressLine6> <AddressLine7>string</AddressLine7> <AddressLine8>string</AddressLine8> <SubPremises>string</SubPremises> <DoubleDependentLocality>string</DoubleDependentLocality> <DependentLocality>string</DependentLocality> <Locality>string</Locality> <SubAdministrativeArea>string</SubAdministrativeArea> <AdministrativeArea>string</AdministrativeArea> <PostalCode>string</PostalCode> <PostalCodeType>string</PostalCodeType> <AddressType>string</AddressType> <AddressKey>string</AddressKey> <SubNationalArea>string</SubNationalArea> <CountryName>string</CountryName> <CountryISO3166_1_Alpha2>string</CountryISO3166_1_Alpha2> <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3> <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric> <CountrySubdivisionCode>string</CountrySubdivisionCode> <Thoroughfare>string</Thoroughfare> <ThoroughfarePreDirection>string</ThoroughfarePreDirection> <ThoroughfareLeadingType>string</ThoroughfareLeadingType> <ThoroughfareName>string</ThoroughfareName> <ThoroughfareTrailingType>string</ThoroughfareTrailingType> <ThoroughfarePostDirection>string</ThoroughfarePostDirection> <DependentThoroughfare>string</DependentThoroughfare> <DependentThoroughfarePreDirection>string</DependentThoroughfarePreDirection> <DependentThoroughfareLeadingType>string</DependentThoroughfareLeadingType> <DependentThoroughfareName>string</DependentThoroughfareName> <DependentThoroughfareTrailingType>string</DependentThoroughfareTrailingType> <DependentThoroughfarePostDirection>string</DependentThoroughfarePostDirection> <Building>string</Building> <PremisesType>string</PremisesType> <PremisesNumber>string</PremisesNumber> <SubPremisesType>string</SubPremisesType> <SubPremisesNumber>string</SubPremisesNumber> <PostBox>string</PostBox> <Latitude>string</Latitude> <Longitude>string</Longitude> <DeliveryIndicator>string</DeliveryIndicator> <MelissaAddressKey>string</MelissaAddressKey> <MelissaAddressKeyBase>string</MelissaAddressKeyBase> <PostOfficeLocation>string</PostOfficeLocation> <SubPremiseLevel>string</SubPremiseLevel> <SubPremiseLevelType>string</SubPremiseLevelType> <SubPremiseLevelNumber>string</SubPremiseLevelNumber> <SubBuilding>string</SubBuilding> <SubBuildingType>string</SubBuildingType> <SubBuildingNumber>string</SubBuildingNumber> <UTC>string</UTC> <DST>string</DST> <DeliveryPointSuffix>string</DeliveryPointSuffix> <CensusKey>string</CensusKey> <Extras/> </ResponseRecord> </Records> </Response>