AddressLookup


Click here for a complete list of operations.

AdvancedStandardization

This method is called by all advanced address checking methods and allows for a deeper interface with the address correction.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /psaddress/addresslookup.asmx HTTP/1.1
Host: ws.cdyne.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.cdyne.com/AdvancedStandardization"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AdvancedStandardization xmlns="http://ws.cdyne.com/">
      <addressToCheck>
        <ServiceError>boolean</ServiceError>
        <AddressError>boolean</AddressError>
        <AddressFoundBeMoreSpecific>boolean</AddressFoundBeMoreSpecific>
        <CheckDigit>int</CheckDigit>
        <NeededCorrection>boolean</NeededCorrection>
        <FromLongitude>decimal</FromLongitude>
        <FromLatitude>decimal</FromLatitude>
        <ToLongitude>decimal</ToLongitude>
        <ToLatitude>decimal</ToLatitude>
        <AvgLongitude>decimal</AvgLongitude>
        <AvgLatitude>decimal</AvgLatitude>
        <hasDaylightSavings>boolean</hasDaylightSavings>
        <LLCertainty>int</LLCertainty>
        <CountyNum>int</CountyNum>
        <Firm>string</Firm>
        <DeliveryAddress>string</DeliveryAddress>
        <DeliveryAddress2>string</DeliveryAddress2>
        <PrimaryLow>string</PrimaryLow>
        <PrimaryHigh>string</PrimaryHigh>
        <PriEO>string</PriEO>
        <SecEO>string</SecEO>
        <SecondaryLow>string</SecondaryLow>
        <SecondaryHigh>string</SecondaryHigh>
        <Secondary>string</Secondary>
        <Extra>string</Extra>
        <City>string</City>
        <StateAbbrev>string</StateAbbrev>
        <ZipCode>string</ZipCode>
        <CarrierRoute>string</CarrierRoute>
        <County>string</County>
        <DeliveryPoint>string</DeliveryPoint>
        <BarCode>string</BarCode>
        <CSKey>string</CSKey>
        <UpdateKey>string</UpdateKey>
        <RecordTypeCode>string</RecordTypeCode>
        <CongressDistrictNumber>string</CongressDistrictNumber>
        <FIPS>string</FIPS>
        <FinanceNumber>string</FinanceNumber>
        <CMSA>string</CMSA>
        <PMSA>string</PMSA>
        <MSA>string</MSA>
        <MA>string</MA>
        <TimeZone>string</TimeZone>
        <AreaCode>string</AreaCode>
        <PreferredCityName>string</PreferredCityName>
        <CensusBlockNum>string</CensusBlockNum>
        <CensusTractNum>string</CensusTractNum>
        <Primary>string</Primary>
        <PrefixDirection>string</PrefixDirection>
        <StreetName>string</StreetName>
        <Suffix>string</Suffix>
        <PostDirection>string</PostDirection>
        <SecondaryNumber>string</SecondaryNumber>
        <StateLegislativeUpper>string</StateLegislativeUpper>
        <StateLegislativeLower>string</StateLegislativeLower>
      </addressToCheck>
      <LicenseKey>string</LicenseKey>
    </AdvancedStandardization>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AdvancedStandardizationResponse xmlns="http://ws.cdyne.com/">
      <AdvancedStandardizationResult>
        <anyType />
        <anyType />
      </AdvancedStandardizationResult>
    </AdvancedStandardizationResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /psaddress/addresslookup.asmx HTTP/1.1
Host: ws.cdyne.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AdvancedStandardization xmlns="http://ws.cdyne.com/">
      <addressToCheck>
        <ServiceError>boolean</ServiceError>
        <AddressError>boolean</AddressError>
        <AddressFoundBeMoreSpecific>boolean</AddressFoundBeMoreSpecific>
        <CheckDigit>int</CheckDigit>
        <NeededCorrection>boolean</NeededCorrection>
        <FromLongitude>decimal</FromLongitude>
        <FromLatitude>decimal</FromLatitude>
        <ToLongitude>decimal</ToLongitude>
        <ToLatitude>decimal</ToLatitude>
        <AvgLongitude>decimal</AvgLongitude>
        <AvgLatitude>decimal</AvgLatitude>
        <hasDaylightSavings>boolean</hasDaylightSavings>
        <LLCertainty>int</LLCertainty>
        <CountyNum>int</CountyNum>
        <Firm>string</Firm>
        <DeliveryAddress>string</DeliveryAddress>
        <DeliveryAddress2>string</DeliveryAddress2>
        <PrimaryLow>string</PrimaryLow>
        <PrimaryHigh>string</PrimaryHigh>
        <PriEO>string</PriEO>
        <SecEO>string</SecEO>
        <SecondaryLow>string</SecondaryLow>
        <SecondaryHigh>string</SecondaryHigh>
        <Secondary>string</Secondary>
        <Extra>string</Extra>
        <City>string</City>
        <StateAbbrev>string</StateAbbrev>
        <ZipCode>string</ZipCode>
        <CarrierRoute>string</CarrierRoute>
        <County>string</County>
        <DeliveryPoint>string</DeliveryPoint>
        <BarCode>string</BarCode>
        <CSKey>string</CSKey>
        <UpdateKey>string</UpdateKey>
        <RecordTypeCode>string</RecordTypeCode>
        <CongressDistrictNumber>string</CongressDistrictNumber>
        <FIPS>string</FIPS>
        <FinanceNumber>string</FinanceNumber>
        <CMSA>string</CMSA>
        <PMSA>string</PMSA>
        <MSA>string</MSA>
        <MA>string</MA>
        <TimeZone>string</TimeZone>
        <AreaCode>string</AreaCode>
        <PreferredCityName>string</PreferredCityName>
        <CensusBlockNum>string</CensusBlockNum>
        <CensusTractNum>string</CensusTractNum>
        <Primary>string</Primary>
        <PrefixDirection>string</PrefixDirection>
        <StreetName>string</StreetName>
        <Suffix>string</Suffix>
        <PostDirection>string</PostDirection>
        <SecondaryNumber>string</SecondaryNumber>
        <StateLegislativeUpper>string</StateLegislativeUpper>
        <StateLegislativeLower>string</StateLegislativeLower>
      </addressToCheck>
      <LicenseKey>string</LicenseKey>
    </AdvancedStandardization>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AdvancedStandardizationResponse xmlns="http://ws.cdyne.com/">
      <AdvancedStandardizationResult>
        <anyType />
        <anyType />
      </AdvancedStandardizationResult>
    </AdvancedStandardizationResponse>
  </soap12:Body>
</soap12:Envelope>