GET api/Order/GetCheckOutStateCities?ProviderId={ProviderId}&zipCode={zipCode}&countrycode={countrycode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProviderId | integer |
Required |
|
| zipCode | string |
Required |
|
| countrycode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TupleOfStringAndListOfCountryZipCode| Name | Description | Type | Additional information |
|---|---|---|---|
| Item1 | string |
None. |
|
| Item2 | Collection of CountryZipCode |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"Item1": "sample string 1",
"Item2": [
{
"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:
<TupleOfstringArrayOfCountryZipCodezexEe4BP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
<m_Item1>sample string 1</m_Item1>
<m_Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce">
<d2p1:CountryZipCode>
<d2p1:_x003C_CityCode_x003E_k__BackingField>sample string 10</d2p1:_x003C_CityCode_x003E_k__BackingField>
<d2p1:_x003C_CityName_x003E_k__BackingField>sample string 4</d2p1:_x003C_CityName_x003E_k__BackingField>
<d2p1:_x003C_CountryCode_x003E_k__BackingField>sample string 7</d2p1:_x003C_CountryCode_x003E_k__BackingField>
<d2p1:_x003C_CountryName_x003E_k__BackingField>sample string 8</d2p1:_x003C_CountryName_x003E_k__BackingField>
<d2p1:_x003C_CountryZipCodeID_x003E_k__BackingField>1</d2p1:_x003C_CountryZipCodeID_x003E_k__BackingField>
<d2p1:_x003C_CountyName_x003E_k__BackingField>sample string 3</d2p1:_x003C_CountyName_x003E_k__BackingField>
<d2p1:_x003C_StateCode_x003E_k__BackingField>sample string 5</d2p1:_x003C_StateCode_x003E_k__BackingField>
<d2p1:_x003C_StateName_x003E_k__BackingField>sample string 6</d2p1:_x003C_StateName_x003E_k__BackingField>
<d2p1:_x003C_Status_x003E_k__BackingField>true</d2p1:_x003C_Status_x003E_k__BackingField>
<d2p1:_x003C_ZipCode_x003E_k__BackingField>sample string 2</d2p1:_x003C_ZipCode_x003E_k__BackingField>
</d2p1:CountryZipCode>
<d2p1:CountryZipCode>
<d2p1:_x003C_CityCode_x003E_k__BackingField>sample string 10</d2p1:_x003C_CityCode_x003E_k__BackingField>
<d2p1:_x003C_CityName_x003E_k__BackingField>sample string 4</d2p1:_x003C_CityName_x003E_k__BackingField>
<d2p1:_x003C_CountryCode_x003E_k__BackingField>sample string 7</d2p1:_x003C_CountryCode_x003E_k__BackingField>
<d2p1:_x003C_CountryName_x003E_k__BackingField>sample string 8</d2p1:_x003C_CountryName_x003E_k__BackingField>
<d2p1:_x003C_CountryZipCodeID_x003E_k__BackingField>1</d2p1:_x003C_CountryZipCodeID_x003E_k__BackingField>
<d2p1:_x003C_CountyName_x003E_k__BackingField>sample string 3</d2p1:_x003C_CountyName_x003E_k__BackingField>
<d2p1:_x003C_StateCode_x003E_k__BackingField>sample string 5</d2p1:_x003C_StateCode_x003E_k__BackingField>
<d2p1:_x003C_StateName_x003E_k__BackingField>sample string 6</d2p1:_x003C_StateName_x003E_k__BackingField>
<d2p1:_x003C_Status_x003E_k__BackingField>true</d2p1:_x003C_Status_x003E_k__BackingField>
<d2p1:_x003C_ZipCode_x003E_k__BackingField>sample string 2</d2p1:_x003C_ZipCode_x003E_k__BackingField>
</d2p1:CountryZipCode>
</m_Item2>
</TupleOfstringArrayOfCountryZipCodezexEe4BP>