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.
For example, given the following input address:
AddressLine1: 401 N Main St Apt 1 POB 1
City: Kemp
StateProvince: TX
PostalCode: 75143
Validate Address would return one of the following:
- 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 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:
- AddressLine2—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 - AdditionalInputData—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 settingSecondary address placement to Dual address separation. For more information, see Default Options .