GET api/Order/GetPortalCountryDetailsByZipCode?zipCode={zipCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
zipCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryZipCodeName | Description | Type | Additional information |
---|---|---|---|
CountryZipCodeID | integer |
None. |
|
ZipCode | string |
None. |
|
CountyName | string |
None. |
|
CityName | string |
None. |
|
StateCode | string |
None. |
|
StateName | string |
None. |
|
CountryCode | string |
None. |
|
CountryName | string |
None. |
|
Status | boolean |
None. |
|
CityCode | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CountryZipCodeID": 1, "ZipCode": "sample string 2", "CountyName": "sample string 3", "CityName": "sample string 4", "StateCode": "sample string 5", "StateName": "sample string 6", "CountryCode": "sample string 7", "CountryName": "sample string 8", "Status": true, "CityCode": "sample string 10" }, { "CountryZipCodeID": 1, "ZipCode": "sample string 2", "CountyName": "sample string 3", "CityName": "sample string 4", "StateCode": "sample string 5", "StateName": "sample string 6", "CountryCode": "sample string 7", "CountryName": "sample string 8", "Status": true, "CityCode": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfCountryZipCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce"> <CountryZipCode> <_x003C_CityCode_x003E_k__BackingField>sample string 10</_x003C_CityCode_x003E_k__BackingField> <_x003C_CityName_x003E_k__BackingField>sample string 4</_x003C_CityName_x003E_k__BackingField> <_x003C_CountryCode_x003E_k__BackingField>sample string 7</_x003C_CountryCode_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 8</_x003C_CountryName_x003E_k__BackingField> <_x003C_CountryZipCodeID_x003E_k__BackingField>1</_x003C_CountryZipCodeID_x003E_k__BackingField> <_x003C_CountyName_x003E_k__BackingField>sample string 3</_x003C_CountyName_x003E_k__BackingField> <_x003C_StateCode_x003E_k__BackingField>sample string 5</_x003C_StateCode_x003E_k__BackingField> <_x003C_StateName_x003E_k__BackingField>sample string 6</_x003C_StateName_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> <_x003C_ZipCode_x003E_k__BackingField>sample string 2</_x003C_ZipCode_x003E_k__BackingField> </CountryZipCode> <CountryZipCode> <_x003C_CityCode_x003E_k__BackingField>sample string 10</_x003C_CityCode_x003E_k__BackingField> <_x003C_CityName_x003E_k__BackingField>sample string 4</_x003C_CityName_x003E_k__BackingField> <_x003C_CountryCode_x003E_k__BackingField>sample string 7</_x003C_CountryCode_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 8</_x003C_CountryName_x003E_k__BackingField> <_x003C_CountryZipCodeID_x003E_k__BackingField>1</_x003C_CountryZipCodeID_x003E_k__BackingField> <_x003C_CountyName_x003E_k__BackingField>sample string 3</_x003C_CountyName_x003E_k__BackingField> <_x003C_StateCode_x003E_k__BackingField>sample string 5</_x003C_StateCode_x003E_k__BackingField> <_x003C_StateName_x003E_k__BackingField>sample string 6</_x003C_StateName_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> <_x003C_ZipCode_x003E_k__BackingField>sample string 2</_x003C_ZipCode_x003E_k__BackingField> </CountryZipCode> </ArrayOfCountryZipCode>