Parameters for Input Data

ValidateMailingAddress takes an address as input. All addresses use this format regardless of the address's country.

Table 1. ValidateMailingAddress Input

Parameter

Format

Description

Data.AddressLine1

String [50]

The first address line.

Data.AddressLine2

String [50]

The second address line.

Data.AddressLine3

String [50]

The third address line.

Data.AddressLine4

String [50]

The fourth address line.

Data.AddressLine5

String [50]

The fifth address line.

Data.City

String [50]

The city name.

Data.StateProvince

String [50]

The state or province.

Data.PostalCode

String [10]

The postal code for the address in one of the following formats:

99999, 99999-9999, A9A9A9, A9A 9A9, 9999 999

Data.Country

String [50]

The country code or name, in any of the formats below:

  • Two-character ISO 3166-1 Alpha 2 country code
  • Three-character ISO 3166-1 Alpha 3 country code
  • English country name

For a list of ISO codes, see ISO Country Codes and Module Support.

Data.FirmName

String [50]

The company or firm name.

Data.InstanceKey

String [50]

The InstanceKey comes from the use of the GlobalTypeAhead family of services and is used to identify related usage, so you are only charged for each time an address is looked up and validated.
Note: This field is optional.