POST api/order/Address/GeographicDrilldown/GetCounties
To get the Counties for a given Country, State, and City
Request Information
URI Parameters
None.
Body Parameters
The Geographic Drilldown containing Country, State, and City information.
GeographicDrilldownParameters| Name | Description | Type | Additional 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. |
| AddressTypeID |
Address Type ID for the address entry form (billing/shipping/both). |
AddressTypeID |
None. |
| LocaleID | integer |
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> <AddressTypeID>Both</AddressTypeID> <LocaleID>1</LocaleID> </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",
"AddressTypeID": 1,
"LocaleID": 1
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A list of Counties
Collection of stringResponse 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" ]