GET api/Order/GetCitiesbyStateCode?statecode={statecode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
statecode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryZipCodeModelName | Description | Type | Additional information |
---|---|---|---|
CityCode | string |
None. |
|
CityName | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CityCode": "sample string 1", "CityName": "sample string 2" }, { "CityCode": "sample string 1", "CityName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfCountryZipCodeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce"> <CountryZipCodeModel> <_x003C_CityCode_x003E_k__BackingField>sample string 1</_x003C_CityCode_x003E_k__BackingField> <_x003C_CityName_x003E_k__BackingField>sample string 2</_x003C_CityName_x003E_k__BackingField> </CountryZipCodeModel> <CountryZipCodeModel> <_x003C_CityCode_x003E_k__BackingField>sample string 1</_x003C_CityCode_x003E_k__BackingField> <_x003C_CityName_x003E_k__BackingField>sample string 2</_x003C_CityName_x003E_k__BackingField> </CountryZipCodeModel> </ArrayOfCountryZipCodeModel>