GET api/order/Address/GeocodeAddress?postalCode={postalCode}&country={country}&addressTypeID={addressTypeID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
postalCode | string |
Required |
|
country | string |
None. |
|
addressTypeID | AddressTypeID |
Default value is Both |
Body Parameters
None.
Response Information
Resource Description
IAddressDropdownViewModelName | Description | Type | Additional information |
---|---|---|---|
States | Collection of string |
None. |
|
Cities | Collection of string |
None. |
|
Counties | Collection of string |
None. |
|
PostalCodes | Collection of string |
None. |
Response Formats
application/xml, text/xml
Sample:
<AddressDropdownViewModel> <States /> <Cities /> <Counties /> <PostalCodes /> </AddressDropdownViewModel>
application/json, text/json
Sample:
{ "States": [], "Cities": [], "Counties": [], "PostalCodes": [] }