Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Retrieves the list of countries with code and name. 

URL

(GET) /api/settings/countries/codes
(POST) /api/settings/countries/codes
 

PARAMETERS

The method has no parameters.

Use the POST variant for auto-completion and pagination features.


RESULTS

The result is a JSON array with one element per country:

vThe ISO 3 letter country code such as FRA, AUT, GERstring
tThe default title (typically in English unless changed by admin)string


EXAMPLES

List of countries with 3 letter code and name.

 [
  {
    "v": "ABW",
    "t": "Aruba"
  },
  {
    "v": "AFG",
    "t": "Afghanistan"
  },
  ...
]




  • No labels