Global Address Verification:Batch SOAP: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{GlobalAddressVerificationNav |ExampleCollapse= }} {{CustomTOC}} ==SOAP Batch Request== A maximum of up to 100 records per request can be sent. <pre> ReqInternational.Reco..."
 
No edit summary
Line 5: Line 5:


{{CustomTOC}}
{{CustomTOC}}
==SOAP WSDL==
<pre>
http://address.melissadata.net/v3/SOAP/GlobalAddress?wsdl
http://address.melissadata.net/v3/SOAP/GlobalAddress?singleWsdl
</pre>


==SOAP Batch Request==
==SOAP Batch Request==
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>
ReqInternational.Records.RequestRecord As New International.Records.RequestRecord
<?xml version="1.0"?>
ResInternatioanl.Records.ResponseRecord As New International.Records.ResponseRecord
<Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
InternationalClient As New International.Service
  <TransmissionReference xmlns="urn:mdGlobalAddress" />
ReqInternational.TransmissionReference = string
  <CustomerID xmlns="urn:mdGlobalAddress">string</CustomerID>
ReqInternational.CustomerID = string
  <Options xmlns="urn:mdGlobalAddress" />
ReqInternational.Options = string
  <Records xmlns="urn:mdGlobalAddress">
ReqInternational.Records.RequestRecord(99)
    <RequestRecord>
ReqInternational.Records.RequestRecord.RecordID = string
      <RecordID>string</RecordID>
ReqInternational.Records.RequestRecord.Organization = string
      <Organization />
ReqInternational.Records.RequestRecord.AddressLine1 = string
      <AddressLine1>string</AddressLine1>
ReqInternational.Records.RequestRecord.AddressLine2 = string
      <AddressLine2 />
ReqInternational.Records.RequestRecord.AddressLine3 = string
      <AddressLine3 />
ReqInternational.Records.RequestRecord.AddressLine4 = string
      <AddressLine4 />
ReqInternational.Records.RequestRecord.AddressLine5 = string
      <AddressLine5 />
ReqInternational.Records.RequestRecord.AddressLine6 = string
      <AddressLine6 />
ReqInternational.Records.RequestRecord.AddressLine7 = string
      <AddressLine7 />
ReqInternational.Records.RequestRecord.AddressLine8 = string
      <AddressLine8 />
ReqInternational.Records.RequestRecord.DoubleDependentLocality = string
      <DoubleDependentLocality />
ReqInternational.Records.RequestRecord.DependentLocality = string
      <DependentLocality />
ReqInternational.Records.RequestRecord.Locality = string
      <Locality />
ReqInternational.Records.RequestRecord.SubAdministrativeArea = string
      <SubAdministrativeArea />
ReqInternational.Records.RequestRecord.AdministrativeArea = string
      <AdministrativeArea />
ReqInternational.Records.RequestRecord.PostalCode = string
      <PostalCode>string</PostalCode>
ReqInternational.Records.RequestRecord.SubNationalArea = string
      <SubNationalArea />
ReqInternational.Records.RequestRecord.Country = string
      <Country>string</Country>
ResInternational = InternationalClient.Post(ReqInternational)
      <RecordOptions xsi:nil="true" />
InternationalClient.Dispose()
    </RequestRecord>
    <RequestRecord>
      <RecordID>string</RecordID>
      <Organization />
      <AddressLine1>string</AddressLine1>
      <AddressLine2 />
      <AddressLine3 />
      <AddressLine4 />
      <AddressLine5 />
      <AddressLine6 />
      <AddressLine7 />
      <AddressLine8 />
      <DoubleDependentLocality />
      <DependentLocality />
      <Locality />
      <SubAdministrativeArea />
      <AdministrativeArea />
      <PostalCode>string</PostalCode>
      <SubNationalArea />
      <Country>string</Country>
      <RecordOptions xsi:nil="true" />
    </RequestRecord>
    <RequestRecord>
      ...
    </RequestRecord>
  </Records>
</Request>
</pre>
</pre>




==SOAP Batch Response==
==XML Batch Response==
<pre>
<pre>
string = ResInternational.Version
<Response xmlns=urn:mdGlobalAddress xmlns:i=http://www.w3.org/2001/XMLSchema-instance>
string = ResInternational.TransmissionReference
  <Version>string</Version>
string = ResInternational.TransimissionResults
  <TransmissionReference>string</TransmissionReference>
string = ResInternational.TotalRecords
  <TransmissionResults>string</TransmissionResults>
string = ResInternational.Records.ResponseRecord.RecordID
  <TotalRecords>string</TotalRecords>
string = ResInternational.Records.ResponseRecord.Results
  <Records>
string = ResInternational.Records.ResponseRecord.FormattedAddress
    <ResponseRecord>
string = ResInternational.Records.ResponseRecord.Organization
      <RecordID>string</RecordID>
string = ResInternational.Records.ResponseRecord.AddressLine1
      <Results>string</Results>
string = ResInternational.Records.ResponseRecord.AddressLine2
      <FormattedAddress>string</FormattedAddress>
string = ResInternational.Records.ResponseRecord.AddressLine3-8
      <Organization>string</Organization>
string = ResInternational.Records.ResponseRecord.SubPremises
      <AddressLine1>string</AddressLine1>
string = ResInternational.Records.ResponseRecord.DoubleDependentLocality
      <AddressLine2>string</AddressLine2>
string = ResInternational.Records.ResponseRecord.DependentLocality
      <AddressLine3>string</AddressLine3>
string = ResInternational.Records.ResponseRecord.Locality
      <AddressLine4>string</AddressLine4>
string = ResInternational.Records.ResponseRecord.SubAdministrativeArea
      <AddressLine5>string</AddressLine5>
string = ResInternational.Records.ResponseRecord.AdministrativeArea
      <AddressLine6>string</AddressLine6>
string = ResInternational.Records.ResponseRecord.PostalCode
      <AddressLine7>string</AddressLine7>
string = ResInternational.Records.ResponseRecord.AddressType
      <AddressLine8>string</AddressLine8>
string = ResInternational.Records.ResponseRecord.AddressKey
      <SubPremises>string</SubPremises>
string = ResInternational.Records.ResponseRecord.SubNationalArea
      <DoubleDependentLocality>string</DoubleDependentLocality>
string = ResInternational.Records.ResponseRecord.CountryName
      <DependentLocality>string</DependentLocality>
string = ResInternational.Records.ResponseRecord.CountryISO3166_1_Alpha2
      <Locality>string</Locality>
string = ResInternational.Records.ResponseRecord.CountryISO3166_1_Alpha3
      <SubAdministrativeArea>string</SubAdministrativeArea>
string = ResInternational.Records.ResponseRecord.CountryISO3166_1_Numeric
      <AdministrativeArea>string</AdministrativeArea>
string = ResInternational.Records.ResponseRecord.Thoroughfare
      <PostalCode>string</PostalCode>
string = ResInternational.Records.ResponseRecord.ThoroughfarePreDirection
      <AddressType>string</AddressType>
string = ResInternational.Records.ResponseRecord.ThoroughfareLeadingType
      <AddressKey>string</AddressKey>
string = ResInternational.Records.ResponseRecord.ThoroughfareName
      <SubNationalArea>string</SubNationalArea>
string = ResInternational.Records.ResponseRecord.ThoroughfareTrailingType
      <CountryName>string</CountryName>
string = ResInternational.Records.ResponseRecord.ThoroughfarePostDirection
      <CountryISO3166_1_Alpha2>string</CountryISO3166_1_Alpha2>
string = ResInternational.Records.ResponseRecord.DependentThoroughfare
      <CountryISO3166_1_Alpha3>string</CountryISO3166_1_Alpha3>
string = ResInternational.Records.ResponseRecord.DependentThoroughfarePreDirection
      <CountryISO3166_1_Numeric>string</CountryISO3166_1_Numeric>
string = ResInternational.Records.ResponseRecord.DependentThoroughfareLeadingType
      <Thoroughfare>string</Thoroughfare>
string = ResInternational.Records.ResponseRecord.DependentThoroughfareName
      <ThoroughfarePreDirection>string</ThoroughfarePreDirection>
string = ResInternational.Records.ResponseRecord.DependentThoroughfareTrailingType
      <ThoroughfareLeadingType>string</ThoroughfareLeadingType>
string = ResInternational.Records.ResponseRecord.DependentThoroughfarePostDirection
      <ThoroughfareName>string</ThoroughfareName>
string = ResInternational.Records.ResponseRecord.Building
      <ThoroughfareTrailingType>string</ThoroughfareTrailingType>
string = ResInternational.Records.ResponseRecord.PremisesType
      <ThoroughfarePostDirection>string</ThoroughfarePostDirection>
string = ResInternational.Records.ResponseRecord.PremisesNumber
      <DependentThoroughfare>string</DependentThoroughfare>
string = ResInternational.Records.ResponseRecord.SubPremisesType
      <DependentThoroughfarePreDirection>string</DependentThoroughfarePreDirection>
string = ResInternational.Records.ResponseRecord.SubPremisesNumber
      <DependentThoroughfareLeadingType>string</DependentThoroughfareLeadingType>
string = ResInternational.Records.ResponseRecord.PostBox
      <DependentThoroughfareName>string</DependentThoroughfareName>
string = ResInternational.Records.ResponseRecord.Latitude
      <DependentThoroughfareTrailingType>string</DependentThoroughfareTrailingType>
string = ResInternational.Records.ResponseRecord.Longitude
      <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>
    <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>
    <ResponseRecord>
      ...
    </ResponseRecord>
  </Records>
</Response>
</pre>
</pre>



Revision as of 19:32, 31 August 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



SOAP WSDL

http://address.melissadata.net/v3/SOAP/GlobalAddress?wsdl
http://address.melissadata.net/v3/SOAP/GlobalAddress?singleWsdl


SOAP Batch Request

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

<?xml version="1.0"?>
<Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TransmissionReference xmlns="urn:mdGlobalAddress" />
  <CustomerID xmlns="urn:mdGlobalAddress">string</CustomerID>
  <Options xmlns="urn:mdGlobalAddress" />
  <Records xmlns="urn:mdGlobalAddress">
    <RequestRecord>
      <RecordID>string</RecordID>
      <Organization />
      <AddressLine1>string</AddressLine1>
      <AddressLine2 />
      <AddressLine3 />
      <AddressLine4 />
      <AddressLine5 />
      <AddressLine6 />
      <AddressLine7 />
      <AddressLine8 />
      <DoubleDependentLocality />
      <DependentLocality />
      <Locality />
      <SubAdministrativeArea />
      <AdministrativeArea />
      <PostalCode>string</PostalCode>
      <SubNationalArea />
      <Country>string</Country>
      <RecordOptions xsi:nil="true" />
    </RequestRecord>
    <RequestRecord>
      <RecordID>string</RecordID>
      <Organization />
      <AddressLine1>string</AddressLine1>
      <AddressLine2 />
      <AddressLine3 />
      <AddressLine4 />
      <AddressLine5 />
      <AddressLine6 />
      <AddressLine7 />
      <AddressLine8 />
      <DoubleDependentLocality />
      <DependentLocality />
      <Locality />
      <SubAdministrativeArea />
      <AdministrativeArea />
      <PostalCode>string</PostalCode>
      <SubNationalArea />
      <Country>string</Country>
      <RecordOptions xsi:nil="true" />
    </RequestRecord>
    <RequestRecord>
      ...
    </RequestRecord>
  </Records>
</Request>


XML Batch Response

<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>
      <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>
    <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>
    <ResponseRecord>
      ...
    </ResponseRecord>
  </Records>
</Response>