Skip to content

Structure "Vehicles"

This structure describes a vehicle offer.

Field description

Name Description Data type Required
id Unique offer id. Number +
dateCreate Date of creating the offer, ms. Timestamp +
dateRepeat Date of the offer repeat, ms. Timestamp +
dateFrom Loading date, ms. Timestamp +
dateTo Unloading date, ms. Timestamp
distanceLine Delivery distance calculated by road maps, m. Number +
distanceTime Approximate delivery time according to calculated distance, ms. Number +
waypointListSource Collection locations. Array of "Collection location" structures +
waypointListTarget Delivery locations. Array of "Collection location" structures +
bodyType Truck type from the directory. Structure "Basic directory element" +
bodyGroup Group of truck types from the directory. Structure "Basic directory element" +
transBodyType Truck type from the directory. Structure "Basic directory element" +
loadTypes Types of loading from the directory. Array of "Basic directory element" structures +
payment Various aspects of payment in the offer. Structure "Payment" +
note Note. String +
cmr CMR consignment note. Logical +
cmrInsurance CMR insurance. Logical +
groupage LTL shipment option. Logical
repeat Data about the offer repeats. Structure "Offer repeats" +
t1 T1 transit declaration. Logical +
tir TIR Carnet. Logical +
adr ADR class. Number
lorryAmount Required number of vehicles. Number
photos Photos associated with the offer. URL array
paymentForms[].type Payment type Structure "Basic directory element"
paymentForms[].vat VAT, if any Logical
refrigeratorRegime Refrigerator temperature range. "Refrigerator temperature range" structure
size Vehicle dimensions. Object +
size.body Vehicle base dimensions. "Vehicle dimensions" structure +
size.trailer Trailer dimensions. "Vehicle dimensions" structure
ekmt CEMT permit. Logical +
autoparkId The id of the user's fleet element associated with this offer. Number
owner Offer owner. "Offer owner" structure
transBodyTypeProperties Body characteristics - Doubledeck, Jumbo, Mega. Array of names
transBodyTypeCategory Body category. Structure "Basic directory element"

Sample

JSON
{
    "id": 350203540,
    "dateCreate": 1583233348000,
    "dateRepeat": 1583233348000,
    "dateFrom": 1586304000000,
    "dateTo": 1588982400000,
    "distanceLine": 1007483.586,
    "distanceTime": 46075299,
    "waypointListSource": [
        {
            "town": {
                "id": 69,
                "name": "Харьков"
            },
            "area": {
                "id": 34,
                "name": "Харьковская обл."
            },
            "country": {
                "sign": "UA",
                "name": "Украина"
            },
            "postCode": "61",
            "address": "Зенитная улица, Павловка",
            "lat": 49.9935,
            "lon": 36.230383
        }
    ],
    "waypointListTarget": [
        {
            "town": {
                "id": 179,
                "name": "Львов"
            },
            "area": {
                "id": 27,
                "name": "Львовская обл."
            },
            "country": {
                "sign": "UA",
                "name": "Украина"
            },
            "postCode": "",
            "address": "Золотая улица, 17",
            "lat": 49.839683,
            "lon": 24.029717
        }
    ],
    "bodyType": {
        "id": 34,
        "name": "Тент"
    },
    "bodyGroup": {
        "id": 1,
        "name": "Крытая"
    },
    "loadTypes": [
        {
            "id": 27,
            "name": "с полной растентовкой"
        },
        {
            "id": 26,
            "name": "задняя"
        }
    ],
    "payment": {
        "price": "1000",
        "currency": {
            "id": 2,
            "name": "грн."
        },
        "unit": {
            "id": 2,
            "name": "км"
        },
        "moment": {
            "id": 4,
            "name": "на выгрузке"
        },
        "type": {
            "id": 4,
            "name": "безнал."
        },
        "prepay": 10,
        "delay": 0,
        "vat": true
    },
    "owner": {
        "refId": 10101583040,
        "name": "Ларди-Tест Бренд",
        "face": "Контактное лицо",
        "contactId": 0,
        "phones": [
            {
                "number": "+380(95)1234567",
                "messengers": [
                    "WHATSAPP",
                    "TELEGRAM",
                    "VIBER"
                ]
            },
            {
                "number": "+380(95)2345678",
                "messengers": [
                    "TELEGRAM"
                ]
            },
            {
                "number": "+380(95)3456789",
                "messengers": []
            },
            {
                "number": "+380(95)4567890",
                "messengers": []
            }
        ],
        "address": {
            "town": {
                "id": 69,
                "name": "Харьков"
            },
            "area": {
                "id": 34,
                "name": "Харьковская обл."
            },
            "country": {
                "sign": "UA",
                "name": "Украина"
            }
        },
        "rating": {
            "positiveCommentCount": 7,
            "negativeCommentCount": 1
        }
    },
    "note": "безопасные перевозки",
    "cmr": true,
    "cmrInsurance": false,
    "groupage": true,
    "t1": false,
    "tir": false,
    "adr": 1,
    "lorryAmount": 2,
    "photos": [
        "http://medianew.lardi-trans.com/originImage/proposal/5e5e393bf96e155451771afc/logo.jpg"
    ],
    "repeat": {
        "auto": false,
        "countToday": 0
    },
    "size": {
        "body": {
            "mass": 20,
            "volume": 90,
            "length": 10,
            "width": 2.5,
            "height": 3
        },
        "trailer": {
            "mass": 20,
            "volume": 90,
            "length": 10,
            "width": 2.5,
            "height": 3            
        }
    },
    "autoparkId": 0,
    "ekmt": true,
    "transBodyTypeProperties": [
        "Mega",
        "Jumbo"
    ],
    "transBodyTypeCategory": {
        "id": 11,
        "name": "Спецтехника"
    }        
}