GET api/countries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Country| Name | Description | Type | Additional information |
|---|---|---|---|
| NatnId | integer |
None. |
|
| NatnCountryEN | string |
None. |
|
| NatnCountryGR | string |
None. |
|
| NatnAbbr | string |
None. |
|
| NatnDescr | string |
None. |
|
| NatnIcon | string |
None. |
|
| Alpha2 | string |
None. |
|
| CultureCode | string |
None. |
|
| LanguageId | integer |
None. |
|
| CountryType | CountryTypes |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NatnId": 1,
"NatnCountryEN": "sample string 2",
"NatnCountryGR": "sample string 3",
"NatnAbbr": "sample string 4",
"NatnDescr": "sample string 5",
"NatnIcon": "sample string 6",
"Alpha2": "sample string 7",
"CultureCode": "sample string 8",
"LanguageId": 9,
"CountryType": 0
},
{
"NatnId": 1,
"NatnCountryEN": "sample string 2",
"NatnCountryGR": "sample string 3",
"NatnAbbr": "sample string 4",
"NatnDescr": "sample string 5",
"NatnIcon": "sample string 6",
"Alpha2": "sample string 7",
"CultureCode": "sample string 8",
"LanguageId": 9,
"CountryType": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
<Country>
<Alpha2>sample string 7</Alpha2>
<CountryType>NotSpecified</CountryType>
<CultureCode>sample string 8</CultureCode>
<LanguageId>9</LanguageId>
<NatnAbbr>sample string 4</NatnAbbr>
<NatnCountryEN>sample string 2</NatnCountryEN>
<NatnCountryGR>sample string 3</NatnCountryGR>
<NatnDescr>sample string 5</NatnDescr>
<NatnIcon>sample string 6</NatnIcon>
<NatnId>1</NatnId>
</Country>
<Country>
<Alpha2>sample string 7</Alpha2>
<CountryType>NotSpecified</CountryType>
<CultureCode>sample string 8</CultureCode>
<LanguageId>9</LanguageId>
<NatnAbbr>sample string 4</NatnAbbr>
<NatnCountryEN>sample string 2</NatnCountryEN>
<NatnCountryGR>sample string 3</NatnCountryGR>
<NatnDescr>sample string 5</NatnDescr>
<NatnIcon>sample string 6</NatnIcon>
<NatnId>1</NatnId>
</Country>
</ArrayOfCountry>