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

NameDescriptionTypeAdditional 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

  • application/json, text/json :
  • [ { "isoCode": "FR", "name": "France", "continent": "Europe", "defaultLanguage": "FR" }, { "isoCode": "FR", "name": "France", "continent": "Europe", "defaultLanguage": "FR" } ]
  • application/xml, text/xml :
  • <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>