10-11-2022 11:52
Automatic translation

Get items of the "Country" lookup

GET   /bs-core/dicts/countries

Getting a list of elements of the "Country" catalog. Since countries are a directory, elements of which can be extracted / modified in the interface,

so it is quite possible that the value of the country id parameter depending on the server may differ from those described.

Request

/bs-core/dicts/countries
Parameters description
No parameters described

Response


                        {
    "status": "ok",
    "timestamp": 1668070305418,
    "data": [
        {
            "id": 101042,
            "name": "Россия",
            "bureauCode": "RU",
            "fullName": "Российская Федерация",
            "bureauCodeNumeric": 643,
            "bureauCodeAlpha3": "RUS"
        },
        {
            "id": 101043,
            "name": "Казахстан",
            "bureauCode": "KZ",
            "fullName": "Республика Казахстан",
            "bureauCodeNumeric": 398,
            "bureauCodeAlpha3": "KAZ"
        },
        {
            "id": 101044,
            "name": "Узбекистан",
            "bureauCode": "UZ",
            "fullName": "Республика Узбекистан",
            "bureauCodeNumeric": 860,
            "bureauCodeAlpha3": "UZB"
        },
        {
            "id": 101045,
            "name": "Таджикистан",
            "bureauCode": "",
            "fullName": "",
            "bureauCodeNumeric": null,
            "bureauCodeAlpha3": null
        }
    ]
}
                    
Parameters description
Parameter Required Data type Description
id R [int][20]

Country identification number:

  • 101042 - Russia
  • 101043 - Uzbekistan
  • 101044 - Tajikistan
  • 101045 - Kyrgyz Republic
  • 101046 - Ukraine
  • 101047 - Georgia
  • 101048 - Kazakhstan
  • .........
name R [string 50] The name of the country
bureauCode R [string 2] Code of the country
full name О [string]
bureauCodeNumeric О [string]
bureauCodeAlpha3 О [string]