Difference between revisions of "Global Address Verification:REST XML"

From Melissa Data Wiki
Jump to navigation Jump to search
Line 39: Line 39:
<?xml version="1.0"?>
<?xml version="1.0"?>
<Response xmlns="urn:mdGlobalAddress">
<Response xmlns="urn:mdGlobalAddress">
   <Version>String content</Version>
   <Version>string</Version>
   <TransmissionReference>String content</TransmissionReference>
   <TransmissionReference>string</TransmissionReference>
   <TransmissionResults>String content</TransmissionResults>
   <TransmissionResults>string</TransmissionResults>
   <TotalRecords>String content</TotalRecords>
   <TotalRecords>string</TotalRecords>
   <Records>
   <Records>
     <ResponseRecord>
     <ResponseRecord>
       <RecordID>String content</RecordID>
       <RecordID>string</RecordID>
       <Results>String content</Results>
       <Results>string</Results>
       <FormattedAddress>String content</FormattedAddress>
       <FormattedAddress>string</FormattedAddress>
       <Organization>String content</Organization>
       <Organization>string</Organization>
       <AddressLine1>String content</AddressLine1>
       <AddressLine1>string</AddressLine1>
       <AddressLine2>String content</AddressLine2>
       <AddressLine2>string</AddressLine2>
       <AddressLine3>String content</AddressLine3>
       <AddressLine3>string</AddressLine3>
       <AddressLine4>String content</AddressLine4>
       <AddressLine4>string</AddressLine4>
       <AddressLine5>String content</AddressLine5>
       <AddressLine5>string</AddressLine5>
       <AddressLine6>String content</AddressLine6>
       <AddressLine6>string</AddressLine6>
       <AddressLine7>String content</AddressLine7>
       <AddressLine7>string</AddressLine7>
       <AddressLine8>String content</AddressLine8>
       <AddressLine8>string</AddressLine8>
       <SubPremises>String content</SubPremises>
       <SubPremises>string</SubPremises>
       <DoubleDependentLocality>String content</DoubleDependentLocality>
       <DoubleDependentLocality>string</DoubleDependentLocality>
       <DependentLocality>String content</DependentLocality>
       <DependentLocality>string</DependentLocality>
       <Locality>String content</Locality>
       <Locality>string</Locality>
       <SubAdministrativeArea>String content</SubAdministrativeArea>
       <SubAdministrativeArea>string</SubAdministrativeArea>
       <AdministrativeArea>String content</AdministrativeArea>
       <AdministrativeArea>string</AdministrativeArea>
       <PostalCode>String content</PostalCode>
       <PostalCode>string</PostalCode>
       <AddressType>String content</AddressType>
       <AddressType>string</AddressType>
       <AddressKey>String content</AddressKey>
       <AddressKey>string</AddressKey>
       <SubNationalArea>String content</SubNationalArea>
       <SubNationalArea>string</SubNationalArea>
       <CountryName>String content</CountryName>
       <CountryName>string</CountryName>
       <CountryISO3166_1_Alpha2>String content</CountryISO3166_1_Alpha2>
       <CountryISO3166_1_Alpha2>string</CountryISO3166_1_Alpha2>
       <CountryISO3166_1_Alpha3>String content</CountryISO3166_1_Alpha3>
       <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3>
       <CountryISO3166_1_Numeric>String content</CountryISO3166_1_Numeric>
       <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric>
       <Thoroughfare>String content</Thoroughfare>
       <Thoroughfare>string</Thoroughfare>
       <ThoroughfarePreDirection>String content</ThoroughfarePreDirection>
       <ThoroughfarePreDirection>string</ThoroughfarePreDirection>
       <ThoroughfareLeadingType>String content</ThoroughfareLeadingType>
       <ThoroughfareLeadingType>string</ThoroughfareLeadingType>
       <ThoroughfareName>String content</ThoroughfareName>
       <ThoroughfareName>string</ThoroughfareName>
       <ThoroughfareTrailingType>String content</ThoroughfareTrailingType>
       <ThoroughfareTrailingType>string</ThoroughfareTrailingType>
       <ThoroughfarePostDirection>String content</ThoroughfarePostDirection>
       <ThoroughfarePostDirection>string</ThoroughfarePostDirection>
       <DependentThoroughfare>String content</DependentThoroughfare>
       <DependentThoroughfare>string</DependentThoroughfare>
       <DependentThoroughfarePreDirection>String content</DependentThoroughfarePreDirection>
       <DependentThoroughfarePreDirection>string</DependentThoroughfarePreDirection>
       <DependentThoroughfareLeadingType>String content</DependentThoroughfareLeadingType>
       <DependentThoroughfareLeadingType>string</DependentThoroughfareLeadingType>
       <DependentThoroughfareName>String content</DependentThoroughfareName>
       <DependentThoroughfareName>string</DependentThoroughfareName>
       <DependentThoroughfareTrailingType>String content</DependentThoroughfareTrailingType>
       <DependentThoroughfareTrailingType>string</DependentThoroughfareTrailingType>
       <DependentThoroughfarePostDirection>String content</DependentThoroughfarePostDirection>
       <DependentThoroughfarePostDirection>string</DependentThoroughfarePostDirection>
       <Building>String content</Building>
       <Building>string</Building>
       <PremisesType>String content</PremisesType>
       <PremisesType>string</PremisesType>
       <PremisesNumber>String content</PremisesNumber>
       <PremisesNumber>string</PremisesNumber>
       <SubPremisesType>String content</SubPremisesType>
       <SubPremisesType>string</SubPremisesType>
       <SubPremisesNumber>String content</SubPremisesNumber>
       <SubPremisesNumber>string</SubPremisesNumber>
       <PostBox>String content</PostBox>
       <PostBox>string</PostBox>
       <Latitude>String content</Latitude>
       <Latitude>string</Latitude>
       <Longitude>String content</Longitude>
       <Longitude>string</Longitude>
     </ResponseRecord>
     </ResponseRecord>
   </Records>
   </Records>

Revision as of 21:19, 13 October 2016

← Global Address Verification

Global Address Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
REST JSONP
REST XML
Batch JSON
Batch SOAP
Batch XML
Result Codes
Result Code Use
Global Address Verification Result Codes
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</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>
      <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>
      <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>
    </ResponseRecord>
  </Records>
</Response>