Skip to content

Directory "Countries"

Description

Retrieving countries.

URL structure

GET /v2/references/countries

List of parameters

Name Description Parameter transfer type Required(+)/Default(value)
language Localization language. Usage details. Query string parameter ru
signs Additional filtering options. Query string parameter

Result

Array of structures "Country".

Sample request

curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/references/countries?language=en&signs=UA,GE,DE" 

Sample response

JSON
[
    {
        "id": 1,
        "name": "Ukraine",
        "sign": "UA"
    },
    {
        "id": 19,
        "name": "Georgia",
        "sign": "GE"
    },
    {
        "id": 16,
        "name": "Germany",
        "sign": "DE"
    }
]