Options

Table 1. GetPostalCodes Options

optionName

Description

Database.US

Specifies the database to be used for postal code look-ups. Only databases that have been defined in the US Database Resources panel in the Management Console are available.

IncludeVanityCity

Specifies whether or not to include postal codes for the city's non-mailing city names. A non-mailing city name is an alternate name for the primary city name. For example, Hollywood is a non-mailing city name for Los Angeles.

Y
Yes, include postal codes for non-mailing city names.
N
No, do not include postal codes for non-mailing city names (default).

OutputCityType

Specifies whether or not to return the city type in the output. If enabled, the city type is returned in the City.Type field.

Y
Yes, include the city type in the output.
N
No, do not include the city type in the output (default).