Skip to content

Directory "Regions"

Description

Retrieving regions.

URL structure

GET /v2/references/areas

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 "Region".

Sample request

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

Sample response

JSON
[
    {
        "id": 15,
        "name": "Винницкая обл.",
        "countrySign": "UA",
        "regionId": 8
    },
    {
        "id": 16,
        "name": "Волынская обл.",
        "countrySign": "UA",
        "regionId": 4
    }
]