© 2024 Clarivate
GET /api/.../postalcodes/{postalcode}
Return a list of postal codes.
Name | Type | Required | Description |
---|---|---|---|
postalcode | string | Yes | Used to return a List of postal code objects. |
[
{
"PostalCodeID":6483,
"Code":"13212",
"City":"N SYRACUSE",
"State":"NY",
"CountryID":1,
"Country":null,
"County":"ONONDAGA"
},
{
"PostalCodeID":6484,
"Code":"13212",
"City":"NORTH SYRACUSE",
"State":"NY",
"CountryID":1,
"Country":null,
"County":"ONONDAGA"
},
{
"PostalCodeID":6485,
"Code":"13212",
"City":"SYRACUSE",
"State":"NY",
"CountryID":1,
"Country":null,
"County":"ONONDAGA"
}
]
Code | Description |
---|---|
200 | OK. Success |
GET /api/.../postalcodes/{postalcode}/{countryid}
Return a list of postal codes for the country.
Name | Type | Required | Description |
---|---|---|---|
postalcode | string | Yes | Used to return a List of postal code objects. |
countryid | int | Yes | Used to return a List of postal code objects for the country. |
[
{
"PostalCodeID":874864,
"Code":"12345",
"City":"PARIS",
"State":"NY",
"CountryID":1,
"Country":null,
"County":null},
{
"PostalCodeID":5902,
"Code":"12345",
"City":"SCHENECTADY",
"State":"NY",
"CountryID":1,
"Country":null,
"County":"SCHENECTADY"
},
{
"PostalCodeID":874578,
"Code":"12345",
"City":"Woldford",
"State":"NY",
"CountryID":1,
"Country":null,
"County":null
},
{
"PostalCodeID":874598,
"Code":"12345",
"City":"Woldford",
"State":"NY",
"CountryID":1,
"Country":null,
"County":"oneida"
}
]
Code | Description |
---|---|
200 | OK. Success |