GET api/Admin/Country/{id}
Allows you to get a specific Country
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CartCountryViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Description | string |
None. |
|
DefaultCountry | boolean |
None. |
|
IsActive | boolean |
None. |
|
Abbreviation | string |
None. |
|
TaxLocationTypeID | boolean |
None. |
|
ISOCode | string |
None. |
|
DefaultRepTypeID | integer |
None. |
|
DefaultCustomerTypeID | integer |
None. |
|
DefaultShoppingCartRepCategoryID | integer |
None. |
|
DefaultShoppingCartCustomerCategoryID | integer |
None. |
|
Zip_Show | boolean |
None. |
|
Zip_MaxLength | integer |
None. |
|
Zip_Required | boolean |
None. |
|
CompanyAddr_Line1 | string |
None. |
|
CompanyAddr_Line2 | string |
None. |
|
CompanyAddr_Line3 | string |
None. |
|
CompanyAddr_Line4 | string |
None. |
|
CompanyAddr_Line5 | string |
None. |
|
CompanyAddr_Line6 | string |
None. |
|
CompanyAddr_Line7 | string |
None. |
|
CompanyAddr_Line8 | string |
None. |
|
CurrencyTypeID | integer |
None. |
|
City_Show | boolean |
None. |
|
City_Required | boolean |
None. |
|
County_Show | boolean |
None. |
|
County_Required | boolean |
None. |
|
State_Show | boolean |
None. |
|
State_Required | boolean |
None. |
|
StateFieldBehaviorID | integer |
None. |
|
HideOnExtranet | boolean |
None. |
|
ZipLookupEnabled | boolean |
None. |
|
RepNumberPrefix | string |
None. |
|
CustomerNumberPrefix | string |
None. |
|
ZIP_MinLength | integer |
None. |
|
DefaultLocaleID | integer |
None. |
|
TranslatedDescription | string |
None. |
|
IsPriceDisplayedAsVatOnCart | boolean |
None. |
|
CurrencySymbol | string |
None. |
|
NumberOfFractionalDigits | integer |
None. |
|
NonUsaStateFieldDropdown | boolean |
None. |
|
Address1_Show | boolean |
None. |
|
Address2_Show | boolean |
None. |
|
Address1_Required | boolean |
None. |
|
Address2_Required | boolean |
None. |
|
AddressConfigurationTypeID | integer |
None. |
|
AddressLayout | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<CartCountryViewModel> <ID>1</ID> <Description>sample string 2</Description> <DefaultCountry>True</DefaultCountry> <IsActive>True</IsActive> <Abbreviation>sample string 5</Abbreviation> <TaxLocationTypeID>True</TaxLocationTypeID> <ISOCode>sample string 7</ISOCode> <DefaultRepTypeID>8</DefaultRepTypeID> <DefaultCustomerTypeID>9</DefaultCustomerTypeID> <DefaultShoppingCartRepCategoryID>10</DefaultShoppingCartRepCategoryID> <DefaultShoppingCartCustomerCategoryID>11</DefaultShoppingCartCustomerCategoryID> <Zip_Show>True</Zip_Show> <Zip_MaxLength>13</Zip_MaxLength> <Zip_Required>True</Zip_Required> <CompanyAddr_Line1>sample string 15</CompanyAddr_Line1> <CompanyAddr_Line2>sample string 16</CompanyAddr_Line2> <CompanyAddr_Line3>sample string 17</CompanyAddr_Line3> <CompanyAddr_Line4>sample string 18</CompanyAddr_Line4> <CompanyAddr_Line5>sample string 19</CompanyAddr_Line5> <CompanyAddr_Line6>sample string 20</CompanyAddr_Line6> <CompanyAddr_Line7>sample string 21</CompanyAddr_Line7> <CompanyAddr_Line8>sample string 22</CompanyAddr_Line8> <CurrencyTypeID>1</CurrencyTypeID> <City_Show>True</City_Show> <City_Required>True</City_Required> <County_Show>True</County_Show> <County_Required>True</County_Required> <State_Show>True</State_Show> <State_Required>True</State_Required> <StateFieldBehaviorID>29</StateFieldBehaviorID> <HideOnExtranet>True</HideOnExtranet> <ZipLookupEnabled>True</ZipLookupEnabled> <RepNumberPrefix>sample string 32</RepNumberPrefix> <CustomerNumberPrefix>sample string 33</CustomerNumberPrefix> <ZIP_MinLength>34</ZIP_MinLength> <DefaultLocaleID>1</DefaultLocaleID> <TranslatedDescription>sample string 35</TranslatedDescription> <IsPriceDisplayedAsVatOnCart>True</IsPriceDisplayedAsVatOnCart> <CurrencySymbol>sample string 37</CurrencySymbol> <NumberOfFractionalDigits>38</NumberOfFractionalDigits> <NonUsaStateFieldDropdown>True</NonUsaStateFieldDropdown> <Address1_Show>True</Address1_Show> <Address2_Show>True</Address2_Show> <Address1_Required>True</Address1_Required> <Address2_Required>True</Address2_Required> <AddressConfigurationTypeID>44</AddressConfigurationTypeID> <AddressLayout>sample string 45</AddressLayout> </CartCountryViewModel>
application/json, text/json
Sample:
{ "ID": 1, "Description": "sample string 2", "DefaultCountry": true, "IsActive": true, "Abbreviation": "sample string 5", "TaxLocationTypeID": true, "ISOCode": "sample string 7", "DefaultRepTypeID": 8, "DefaultCustomerTypeID": 9, "DefaultShoppingCartRepCategoryID": 10, "DefaultShoppingCartCustomerCategoryID": 11, "Zip_Show": true, "Zip_MaxLength": 13, "Zip_Required": true, "CompanyAddr_Line1": "sample string 15", "CompanyAddr_Line2": "sample string 16", "CompanyAddr_Line3": "sample string 17", "CompanyAddr_Line4": "sample string 18", "CompanyAddr_Line5": "sample string 19", "CompanyAddr_Line6": "sample string 20", "CompanyAddr_Line7": "sample string 21", "CompanyAddr_Line8": "sample string 22", "CurrencyTypeID": 1, "City_Show": true, "City_Required": true, "County_Show": true, "County_Required": true, "State_Show": true, "State_Required": true, "StateFieldBehaviorID": 29, "HideOnExtranet": true, "ZipLookupEnabled": true, "RepNumberPrefix": "sample string 32", "CustomerNumberPrefix": "sample string 33", "ZIP_MinLength": 34, "DefaultLocaleID": 1, "TranslatedDescription": "sample string 35", "IsPriceDisplayedAsVatOnCart": true, "CurrencySymbol": "sample string 37", "NumberOfFractionalDigits": 38, "NonUsaStateFieldDropdown": true, "Address1_Show": true, "Address2_Show": true, "Address1_Required": true, "Address2_Required": true, "AddressConfigurationTypeID": 44, "AddressLayout": "sample string 45" }