GET api/countries/{dataType}?languageCode={languageCode} Authentication required
Use this method to get all the countries you can query using the api. For each one you will know which database types can be queried
Request
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dataType |
DataType : Business - WhitePages - YellowPages |
enum (See Model) |
Required |
languageCode |
[Optional] Language represented by its ISO 639-1 Code (2 chars long) |
string |
Default value is |
Response
Returns all the Infobel countries available
Output : array of objects (See Model)Ouput Sample
[
{
"isoCode": "FR",
"name": "France",
"continent": "Europe",
"defaultLanguage": "FR"
},
{
"isoCode": "FR",
"name": "France",
"continent": "Europe",
"defaultLanguage": "FR"
}
]
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Country>
<Continent>Europe</Continent>
<DefaultLanguage>FR</DefaultLanguage>
<IsoCode>FR</IsoCode>
<Name>France</Name>
</Country>
<Country>
<Continent>Europe</Continent>
<DefaultLanguage>FR</DefaultLanguage>
<IsoCode>FR</IsoCode>
<Name>France</Name>
</Country>
</ArrayOfCountry>