Output
GetCityStateProvince returns the matching city and state/province for the input postal code as well as a code to indicate the success or failure of the match attempt. If more than one city/state or city/province matches the input postal code, multiple output records are returned.
| columnName | Description | 
|---|---|
| City | The matched city name. | 
| City.Type | The USPS® standardized city name type (U.S. addresses only). 
 | 
| PostalCode | The input postal code. | 
| ProcessedBy | Indicates which address coder processed the address. One of the following: 
 | 
| StateProvince | The validated state/province or its abbreviated value. | 
| Status | Reports the success or failure of the match attempt. 
 | 
| Status.Code | The reason for failure, if there is one. The only valid value is: 
 | 
| Status.Description | The description of the failure. The valid values are: 
 |