Lista pojazdów

Zwraca wszystkie pojazdy dostępne do jazd testowych

Metoda: GET

Ścieżka: /api/v1/events/vehicles/list

Parametry

Nazwa Typ Opis

Parametry odpowiedzi

Nazwa Typ Opis
id string Unikalny identyfikator pojazdu
name string Nazwa pojazdu
description string Opis pojazdu
nr_cat string Numer katalogowy
vin string VIN pojazdu
comment string Komentarz
place object Obecne miejsce przebywania pojazdu
mileage string Przebieg
nr_reg string Numer rejestracyjny
is_active boolean Status aktywności pojazdu

Odpowiedź w formacie JSON

{
    "status": 200,
    "data": {
        "list": [
            {
                "id": "string",
                "name": "string",
                "description": "string",
                "nr_cat": "string",
                "vin": "string",
                "comment": "string",
                "place": [],
                "mileage": "string",
                "nr_reg": "string",
                "is_active": "boolean"
            }
        ]
    }
}

Odpowiedź w formacie JSON

{
    "status": 400,
    "description": "Nieprawidłowe parametry"
}

Odpowiedź w formacie JSON

{
    "status": 403,
    "description": "Niepoprawne dane logowania"
}