POST api/order/Address/GeographicDrilldown/GetPostalCodes

To get the Postal Codes for a given Country, State, City, and County

Request Information

URI Parameters

None.

Body Parameters

The Geographic Drilldown containing Country, State, City, and County information.

GeographicDrilldownParameters
NameDescriptionTypeAdditional information
Country

The name of the Country

string

None.

State

The name of the State

string

None.

City

The name of the City

string

None.

County

The name of the County

string

None.

PostalCode

The Postal Code for the Geopgraphic location.

string

None.

Request Formats

application/xml, text/xml

Sample:
<GeographicDrilldownParameters>
  <Country>sample string 1</Country>
  <State>sample string 2</State>
  <City>sample string 3</City>
  <County>sample string 4</County>
  <PostalCode>sample string 5</PostalCode>
</GeographicDrilldownParameters>

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "State": "sample string 2",
  "City": "sample string 3",
  "County": "sample string 4",
  "PostalCode": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'GeographicDrilldownParameters'.

Response Information

Resource Description

A list of Postal Codes

Collection of string

Response Formats

application/xml, text/xml

Sample:
<Array1OfString>
  <String>sample 1</String>
  <String>sample 2</String>
</Array1OfString>

application/json, text/json

Sample:
[
  "sample 1",
  "sample 2"
]