Skip to content

Retrieving my vehicle offers

Description

Retrieving all vehicle offers for the current user.

URL structure

GET /v2/proposals/my/lorries/{status}

List of parameters

Name Description Parameter transfer type Required(+)/Default(value)
language Localization language. Usage details. Query string parameter ru
status Enumeration "Offer status". Path parameter +

Result

Array of "Vehicles" structures.

Sample request

curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/proposals/my/lorries/published" 

Sample response

JSON
{
    "content": [
        {
            ...
        }
    ],
    "paginator": {
        "current": 0,
        "perPage": 100,
        "pages": 1,
        "totalSize": 61
    }
}