About Dual Address Logic - Spectrum_OnDemand - addressing - web_services - 23.1

Spectrum Web Services Guide

Product type
Software
Portfolio
Integrate
Product family
Spectrum
Product
Spectrum > Web Services
Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Web Services Guide
First publish date
2007
Last updated
2024-10-17
Published on
2024-10-17T00:33:46.811413

For U.S. addresses only, the DualAddressLogic option controls whether ValidateMailingAddressUSCAN should return a street match or a PO Box/Rural Route/Highway Contract match when the address contains both street and PO Box/Rural Route/Highway Contract information in the same address line.

Note: The DualAddressLogic option has no effect if the street information is in a different address line input field than the PO Box/Rural Route/Highway Contract information.

For U.S. addresses only, the Option.DualAddressLogic option controls whether ValidateMailingAddressUSCAN should return a street match or a PO Box/Rural Route/Highway Contract match when the address contains both street and PO Box/Rural Route/Highway Contract information in the same address line.

Note: The Option.DualAddressLogic option has no effect if the street information is in a different address line input field than the PO Box/Rural Route/Highway Contract information.

For U.S. addresses only, the Dual address logic option controls whether Validate Address should return a street match or a PO Box/Rural Route/Highway Contract match when the address contains both street and PO Box/Rural Route/Highway Contract information in the same address line.

Note: The Dual address logic option has no effect if the street information is in a different address line input field than the PO Box/Rural Route/Highway Contract information.

For example, given the following input address:

AddressLine1: 401 N Main St Apt 1 POB 1
City: Kemp
StateProvince: TX
PostalCode: 75143

Validate MailingAddressUSCAN would return one of the following:

  • If DualAddressLogic is set to either N or P:If Option.DualAddressLogic is set to either N or P:If Dual address logic is set to either Normal Match or PO Box Match:

    AddressLine1: PO Box 1
    City: Kemp
    StateProvince: TX
    PostalCode: 75143-0001

  • If DualAddressLogic is set to S:If Option.DualAddressLogic is set to S:If Dual address logic is set to Street Match:

    AddressLine1: 401 N Main St Apt 1
    City: Kemp
    StateProvince: TX
    PostalCode: 75143-4806

The address data that is not used to standardize the address can be returned in one of two places:

  • AddressLine2The address information not used to standardize the address is returned in the AddressLine2 field if you specify StandardAddressFormat=D.The address information not used to standardize the address is returned in the AddressLine2 field if you specify Option.StandardAddressFormat=D.The address information not used to standardize the address is returned in the AddressLine2 field if you select Dual address separation in the Secondary address placement field. For more information, see Default Options. For example, if you choose to return a street match for dual addresses,

    AddressLine1: 401 N Main St Apt 1
    AddressLine2: PO Box 1
    City: Kemp
    StateProvince: TX
    PostalCode: 75143-0001

  • AdditionalInputDataIf you do not specify StandardAddressFormat=D then the address information not used to standardize the address is returned in the AdditionalInputData field.If you do not specify Option.StandardAddressFormat=D then the address information not used to standardize the address is returned in the AdditionalInputData field.If you do not select Dual address separation in the Secondary address placement field then the address information not used to standardize the address is returned in the AdditionalInputData field. For more information on this option, see Default Options. For example, if you choose to return a street match for dual addresses,

    AddressLine1: 401 N Main St Apt 1
    City: Kemp
    StateProvince: TX
    PostalCode: 75143-0001
    AdditionalInputData: PO Box 1

Address information that is dropped can be retrieved by setting the StandardAddressFormat option to D.Address information that is dropped can be retrieved by setting the Option.StandardAddressFormat option to D.Address information that is dropped can be retrieved by settingSecondary address placement to Dual address separation. For more information, see Default Options .