Output
GetPostalCodes returns the postal codes for a specified city. Each postal code is returned in a separate record along with the data listed in the following table.
columnName |
Description |
---|---|
City.Type |
The USPS® city type (U.S. addresses only). The city type is determined by looking at the ZIP Code and the city name. For example, the city Lanham MD has the postal codes 20703, 20706, and 20784. Lanham is the primary city in 20703 and 20706 but is a vanity city in 20784. This field column is only populated if OutputCityType=Y. The possible values are:
|
PostalCode |
A postal code in the specified city. |
ProcessedBy |
Because this service only works for U.S. addresses, ProcessedBy will always contain one value: USA. |
Status |
Reports the success or failure of the match attempt.
|
Status.Code |
Reason for failure, if there is one. One of the following:
|
Status.Description |
Description of failure.
|