GET api/Provider/GetCountries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CountryModelName | Description | Type | Additional information |
---|---|---|---|
CountryCode | string |
None. |
|
CountryName | string |
None. |
|
FlagURL | string |
None. |
|
CurrencySymbol | string |
None. |
|
ConversionPrice | decimal number |
None. |
|
Culture | string |
None. |
|
Status | boolean |
None. |
|
ValidateZipCode | boolean |
None. |
|
ZipFormat | string |
None. |
|
LoadStates | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CountryCode": "sample string 1", "CountryName": "sample string 2", "FlagURL": "sample string 3", "CurrencySymbol": "sample string 4", "ConversionPrice": 5.1, "Culture": "sample string 6", "Status": true, "ValidateZipCode": true, "ZipFormat": "sample string 9", "LoadStates": true }, { "CountryCode": "sample string 1", "CountryName": "sample string 2", "FlagURL": "sample string 3", "CurrencySymbol": "sample string 4", "ConversionPrice": 5.1, "Culture": "sample string 6", "Status": true, "ValidateZipCode": true, "ZipFormat": "sample string 9", "LoadStates": true } ]
application/xml, text/xml
Sample:
<ArrayOfCountryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce"> <CountryModel> <_x003C_ConversionPrice_x003E_k__BackingField>5.1</_x003C_ConversionPrice_x003E_k__BackingField> <_x003C_CountryCode_x003E_k__BackingField>sample string 1</_x003C_CountryCode_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 2</_x003C_CountryName_x003E_k__BackingField> <_x003C_Culture_x003E_k__BackingField>sample string 6</_x003C_Culture_x003E_k__BackingField> <_x003C_CurrencySymbol_x003E_k__BackingField>sample string 4</_x003C_CurrencySymbol_x003E_k__BackingField> <_x003C_FlagURL_x003E_k__BackingField>sample string 3</_x003C_FlagURL_x003E_k__BackingField> <_x003C_LoadStates_x003E_k__BackingField>true</_x003C_LoadStates_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> <_x003C_ValidateZipCode_x003E_k__BackingField>true</_x003C_ValidateZipCode_x003E_k__BackingField> <_x003C_ZipFormat_x003E_k__BackingField>sample string 9</_x003C_ZipFormat_x003E_k__BackingField> </CountryModel> <CountryModel> <_x003C_ConversionPrice_x003E_k__BackingField>5.1</_x003C_ConversionPrice_x003E_k__BackingField> <_x003C_CountryCode_x003E_k__BackingField>sample string 1</_x003C_CountryCode_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 2</_x003C_CountryName_x003E_k__BackingField> <_x003C_Culture_x003E_k__BackingField>sample string 6</_x003C_Culture_x003E_k__BackingField> <_x003C_CurrencySymbol_x003E_k__BackingField>sample string 4</_x003C_CurrencySymbol_x003E_k__BackingField> <_x003C_FlagURL_x003E_k__BackingField>sample string 3</_x003C_FlagURL_x003E_k__BackingField> <_x003C_LoadStates_x003E_k__BackingField>true</_x003C_LoadStates_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> <_x003C_ValidateZipCode_x003E_k__BackingField>true</_x003C_ValidateZipCode_x003E_k__BackingField> <_x003C_ZipFormat_x003E_k__BackingField>sample string 9</_x003C_ZipFormat_x003E_k__BackingField> </CountryModel> </ArrayOfCountryModel>