GET api/countries?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
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", "defaultLanguage": "FR" }, { "isoCode": "FR", "name": "France", "defaultLanguage": "FR" } ]
  • application/xml, text/xml :
  • <ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Country> <DefaultLanguage>FR</DefaultLanguage> <IsoCode>FR</IsoCode> <Name>France</Name> </Country> <Country> <DefaultLanguage>FR</DefaultLanguage> <IsoCode>FR</IsoCode> <Name>France</Name> </Country> </ArrayOfCountry>