Vehicle

/vehicles ๐Ÿงช

GET apiURL/vehicles

Get all vehicles.

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
      "id_autodata": "PEU28261",
      "latitude": 41.141882,
      "longitude": -5.142031,
      "position_at": "2016-10-27T17:12:02.000Z",
      "created_at": "2017-06-29T00:00:00.000Z",
      "mileage": 316869,
      "mileage_oocar": 316869,
      "oil": null,
      "capacity": null,
      "fuel": null,
      "tank": null,
      "state": "S",
      "removed": 0,
      "protocole": null,
      "mileage_auto": 0,
      "mileage_source": null
    }
  ],
  "total": 40,
  "skip": 0,
  "limit": 1
}

/vehicle/:uuid ๐Ÿงช

GET apiURL/vehicle/:uuid

Get a vehicle by UUID.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

fields

string

{
  "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
  "id_autodata": "PEU28261",
  "latitude": 47.141882,
  "longitude": -9.142031,
  "position_at": "2016-10-27T17:12:02.000Z",
  "created_at": "2017-06-29T00:00:00.000Z",
  "mileage": 316869,
  "mileage_oocar": 316869,
  "oil": null,
  "capacity": null,
  "fuel": null,
  "tank": null,
  "state": "S",
  "removed": 0,
  "protocole": null,
  "mileage_auto": 0,
  "mileage_source": null
}

/:uuid/trips ๐Ÿงช

GET apiURL/vehicle/:uuid/trips

Get all trips made by a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
      "tag": null,
      "lat_start": 47.467,
      "lng_start": -0.538158,
      "lat_end": 47.4743,
      "lng_end": -0.546779,
      "country_code": "FR",
      "lang": "fr",
      "address_start": "15 Rue du Carnot, 49100 Angers",
      "address_end": "10 Boulevard Quinconce, 49100 Angers",
      "time_start": "2016-09-11T14:31:02.000Z",
      "time_end": "2016-09-11T14:46:40.000Z",
      "weather_start": "{\"icon\":\"clear-night\",\"precipIntensity\":0,\"precipProbability\":0,\"temperature\":6.07,\"apparentTemperature\":3.47,\"dewPoint\":4.62,\"humidity\":0.9,\"windSpeed\":3.49,\"windBearing\":87,\"cloudCover\":0,\"pressure\":1023.16,\"ozone\":281.95}",
      "weather_end": "{\"icon\":\"clear-night\",\"precipIntensity\":0,\"precipProbability\":0,\"temperature\":6.07,\"apparentTemperature\":3.48,\"dewPoint\":3.19,\"humidity\":0.82,\"windSpeed\":3.48,\"windBearing\":87,\"cloudCover\":0,\"pressure\":1023.17,\"ozone\":281.88}",
      "duration_s": 938,
      "pct_night": 0,
      "idle_time_pct": 0.384861,
      "nb_stops": 14,
      "distance_m": 3374,
      "speed_avg_moving_kmh": 21.0579,
      "speed_avg_kmh": 12.9224,
      "speed_max_kmh": 53,
      "speed_deviation": 14.653,
      "rpm_max": 3164,
      "rpm_avg": 898.634,
      "rpm_avg_moving": 1367.73,
      "rpm_0_1500_pct": 0.76841,
      "rpm_1500_2000_pct": 0.171825,
      "rpm_2000_4000_pct": 0.0597652,
      "rpm_4000_6000_pct": 0,
      "rpm_6000_sup_pct": 0,
      "load_avg": 18.0367,
      "load_deviation": 20.604,
      "accel_min": 0.138889,
      "accel_max": 4.16667,
      "decel_min": -0.0925926,
      "decel_max": -3.33333,
      "rpm_avg_rpm_power_max": 0.341932,
      "rpm_avg_rpm_torque_max": 0.781558,
      "rpm_max_rpm_power_max": 0.791,
      "fuel_start_pct": null,
      "fuel_end_pct": null,
      "fuel_consumed_l": 0.266941,
      "fuel_avg_l100": 7.91261,
      "trip_cost_euro_e10_95": 0,
      "trip_cost_euro_sp95": 0,
      "trip_cost_euro_sp98": 0,
      "trip_cost_euro_diesel": 0.362239,
      "co2_g": null,
      "co2_g_manufacturer": 296.878,
      "speed_0_30_pct": 0.840085,
      "speed_30_50_pct": 0.15048,
      "speed_50_70_pct": 0.00960512,
      "speed_70_100_pct": 0,
      "speed_100_130_pct": 0,
      "speed_130_150_pct": 0,
      "speed_150_180_pct": 0,
      "speed_180_plus_pct": 0,
      "accel_decel_slow_pct": 0.84968,
      "gear_shifts": 65,
      "gears_used": 4,
      "gear_1_pct": 0.221748,
      "gear_2_pct": 0.204691,
      "gear_3_pct": 0.08742,
      "gear_4_pct": 0.0298507,
      "gear_5_pct": 0,
      "gear_6_pct": 0,
      "gear_7_pct": 0,
      "gear_8_pct": 0,
      "gear_9_pct": 0,
      "gear_10_pct": 0,
      "gear_11_pct": 0,
      "gear_12_pct": 0,
      "avg_rpm_shift_up_0_1": 1386.3,
      "avg_rpm_shift_up_1_2": 2138.46,
      "avg_rpm_shift_up_2_3": 2056.29,
      "avg_rpm_shift_up_3_4": 1698.33,
      "avg_rpm_shift_up_4_5": 0,
      "avg_rpm_shift_up_5_6": 0,
      "avg_rpm_shift_up_6_7": 0,
      "avg_rpm_shift_up_7_8": 0,
      "avg_rpm_shift_up_8_9": 0,
      "avg_rpm_shift_up_9_10": 0,
      "avg_rpm_shift_up_10_11": 0,
      "avg_rpm_shift_up_11_12": 0,
      "shift_up_norm": null,
      "steady_gear_norm": null,
      "artemis_class": 2,
      "road_type": "U",
      "car_class": "DS",
      "note_steady_gear": 0,
      "note_shift_up_gear": 0,
      "note_steady_gear2": null,
      "note_shift_up_gear2": null,
      "note_pke": 84,
      "note_pke_andrieu": 21,
      "note_engine_brake": 69,
      "note_rpm_sd_stopexcluded": 14,
      "note_load_sd_stopexcluded": 67,
      "note_rpa": 53,
      "note_rna": 53,
      "note_sai": null,
      "note_accel_avg": 32,
      "note_decel_avg": 31,
      "note_accel_sd": 35,
      "note_decel_sd": 46,
      "note_idle_time_norm": 32,
      "note_pct_accel_fast": null,
      "note_pct_decel_fast": null,
      "note_finale": 41.0833,
      "note_conso": 0,
      "stars_accel": 2,
      "stars_decel": 2.4875,
      "stars_gear": null,
      "stars_soft": 1.675,
      "similarity_to_do": 1,
      "status": "O",
      "discard": 0,
      "optimCDRA": 0,
      "device_memory": 0
    }
  ],
  "total": 7,
  "skip": 0,
  "limit": 1
}

/:uuid/pieces ๐Ÿงช

GET apiURL/vehicle/:uuid/pieces

Get all pieces of a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "code": "df",
      "added_at": "2017-07-05T09:19:13.000Z",
      "description": null,
      "season": null,
      "option": null,
      "pressure_normal": null,
      "pressure_laden": null,
      "vehicle_mileage_origin": 45000000,
      "mileage_real": 9480405,
      "mileage_wear": 9479037,
      "wear_pct": 84.202
    }
  ],
  "total": 8,
  "skip": 0,
  "limit": 1
}

/:uuid/diagnostics ๐Ÿงช

GET apiURL/vehicle/:uuid/diagnostics

Get all diagnostics pulled by a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "dtc_code": "P0299",
      "value": null,
      "start_date": "2016-04-25T16:08:35.000Z",
      "end_date": "2016-04-25T16:22:28.000Z",
      "lat": 51.60228031859459,
      "lng": 6.20325435011182
    }
  ],
  "total": 3,
  "skip": 0,
  "limit": 1
}

/:uuid/devices ๐Ÿงช

GET apiURL/vehicle/:uuid/devices

Get all devices attached to a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "bound_at": "2018-04-06T14:45:53.000Z",
      "vehicle_data": {
        "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24"
      }
    }
  ],
  "total": 1,
  "skip": 0,
  "limit": 1
}

Last updated

Was this helpful?