Skip to content

Directory "Country part"

Description

Retrieving country parts.

URL structure

GET /v2/references/regions

List of parameters

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

Result

Array of structures "Country part".

Sample request

curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/references/regions?ids=2,4"

Sample response

JSON
[
    {
        "id": 2,
        "name": "Восток",
        "countrySign": "UA"
    },
    {
        "id": 4,
        "name": "Запад",
        "countrySign": "UA"
    }
]