Skip to content

Directory "Cargo package"

Description

Retrieving cargo package.

URL structure

GET /v2/references/cargo/package

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 "Basic directory element".

Sample request

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

Sample response

JSON
[
    {
        "id": 2,
        "name": "EURO 1,2x0,8 м"
    },
    {
        "id": 4,
        "name": "FIN 1,2x1 м"
    },
    {
        "id": 6,
        "name": "1x1 м"
    },
    {
        "id": 8,
        "name": "1,1x1,1 м"
    },
    {
        "id": 10,
        "name": "1,2x1,2 м"
    }
]