Global Address Verification:Batch XML: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{GlobalAddressVerificationNav |ExampleCollapse= }} {{CustomTOC}} ==XML Batch Request== A maximum of up to 100 records per request can be sent. <pre> <Request xmlns="urn:md..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
A maximum of up to 100 records per request can be sent.
A maximum of up to 100 records per request can be sent.
<pre>
<pre>
<Request xmlns="urn:mdGlobalAddress">
<Request>
   <TransmissionReference>string</TransmissionReference>
   <TransmissionReference>string</TransmissionReference>
   <CustomerID>string</CustomerID>
   <CustomerID>string</CustomerID>
Line 64: Line 64:
==XML Batch Response==
==XML Batch Response==
<pre>
<pre>
<Response xmlns="urn:mdGlobalAddress">
<?xml version="1.0"?>
<Response xmlns=urn:mdGlobalAddress xmlns:i=http://www.w3.org/2001/XMLSchema-instance>
   <Version>string</Version>
   <Version>string</Version>
   <TransmissionReference>string</TransmissionReference>
   <TransmissionReference>string</TransmissionReference>
Line 90: Line 91:
       <AdministrativeArea>string</AdministrativeArea>
       <AdministrativeArea>string</AdministrativeArea>
       <PostalCode>string</PostalCode>
       <PostalCode>string</PostalCode>
      <PostalCodeType>string</PostalCodeType>
       <AddressType>string</AddressType>
       <AddressType>string</AddressType>
       <AddressKey>string</AddressKey>
       <AddressKey>string</AddressKey>
Line 97: Line 99:
       <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3>
       <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3>
       <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric>
       <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric>
      <CountrySubdivisionCode>string</CountrySubdivisionCode>
       <Thoroughfare>string</Thoroughfare>
       <Thoroughfare>string</Thoroughfare>
       <ThoroughfarePreDirection>string</ThoroughfarePreDirection>
       <ThoroughfarePreDirection>string</ThoroughfarePreDirection>
Line 117: Line 120:
       <Latitude>string</Latitude>
       <Latitude>string</Latitude>
       <Longitude>string</Longitude>
       <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>
     <ResponseRecord>
     <ResponseRecord>
Line 138: Line 156:
       <AdministrativeArea>string</AdministrativeArea>
       <AdministrativeArea>string</AdministrativeArea>
       <PostalCode>string</PostalCode>
       <PostalCode>string</PostalCode>
      <PostalCodeType>string</PostalCodeType>
       <AddressType>string</AddressType>
       <AddressType>string</AddressType>
       <AddressKey>string</AddressKey>
       <AddressKey>string</AddressKey>
Line 145: Line 164:
       <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3>
       <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3>
       <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric>
       <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric>
      <CountrySubdivisionCode>string</CountrySubdivisionCode>
       <Thoroughfare>string</Thoroughfare>
       <Thoroughfare>string</Thoroughfare>
       <ThoroughfarePreDirection>string</ThoroughfarePreDirection>
       <ThoroughfarePreDirection>string</ThoroughfarePreDirection>
Line 165: Line 185:
       <Latitude>string</Latitude>
       <Latitude>string</Latitude>
       <Longitude>string</Longitude>
       <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>
     <ResponseRecord>
     <ResponseRecord>

Latest revision as of 23:36, 15 September 2020

← 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



XML Batch Request

A maximum of up to 100 records per request can be sent.

<Request>
  <TransmissionReference>string</TransmissionReference>
  <CustomerID>string</CustomerID>
  <Options>string</Options>
  <Records>
    <RequestRecord>
      <RecordID>string</RecordID>
      <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>
      <DoubleDependentLocality>string</DoubleDependentLocality>
      <DependentLocality>string</DependentLocality>
      <Locality>string</Locality>
      <SubAdministrativeArea>string</SubAdministrativeArea>
      <AdministrativeArea>string</AdministrativeArea>
      <PostalCode>string</PostalCode>
      <SubNationalArea>string</SubNationalArea>
      <Country>string</Country>
    </RequestRecord>
    <RequestRecord>
      <RecordID>string</RecordID>
      <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>
      <DoubleDependentLocality>string</DoubleDependentLocality>
      <DependentLocality>string</DependentLocality>
      <Locality>string</Locality>
      <SubAdministrativeArea>string</SubAdministrativeArea>
      <AdministrativeArea>string</AdministrativeArea>
      <PostalCode>string</PostalCode>
      <SubNationalArea>string</SubNationalArea>
      <Country>string</Country>
    </RequestRecord>
    <RequestRecord>
      ...
    </RequestRecord>
  </Records>
</Request>


XML Batch Response

<?xml version="1.0"?>
<Response xmlns=urn:mdGlobalAddress xmlns:i=http://www.w3.org/2001/XMLSchema-instance>
  <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>
    <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>
    <ResponseRecord>
      ...
    </ResponseRecord>
  </Records>
</Response>