Trip

/trips

GET apiUrl/trips

Get all trips.

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": 27.467,
      "lng_start": -5.538158,
      "lat_end": 47.4743,
      "lng_end": -0.546779,
      "country_code": "FR",
      "lang": "fr",
      "address_start": "16 Rue du Quinconce, 49100 Angers",
      "address_end": "267 Boulevard Carnot, 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,
      "user": {
        "created_at": "2016-09-11T11:39:44.000Z"
      }
    }
  ],
  "total": 933,
  "skip": 0,
  "limit": 1
}

/trip/:uuid

GET apiUrl/trip/:uuid

Get a trip by UUID.

Path Parameters

Name
Type
Description

uuid

string

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

Query Parameters

Name
Type
Description

fields

string

{
  "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
  "tag": null,
  "lat_start": 44.467,
  "lng_start": -9.538158,
  "lat_end": 47.4743,
  "lng_end": -0.546779,
  "country_code": "FR",
  "lang": "fr",
  "address_start": "195 Rue du Quinconce, 49100 Angers",
  "address_end": "463 Boulevard Carnot, 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,
  "user": {
    "created_at": "2016-09-11T11:39:44.000Z"
  }
}

/trip/:uuid/events

GET apiURL/trip/:uuid/events

Get trip events.

Path Parameters

Name
Type
Description

uuid

string

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

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "type_event": "a",
      "start": 1473604361,
      "lat_start": 47.465501,
      "lng_start": -0.545297,
      "end": 1473604369,
      "lat_end": 47.464906,
      "lng_end": -0.545415,
      "value": 11,
      "uuid_trip": "7af261ba-3fa2-11e7-b119-62ebcb67de24"
    }
  ],
  "total": 2,
  "skip": 0,
  "limit": 1
}

/trip/:uuid/poi

GET apiURL/trip/:uuid/poi

Get points of interest where a trip started or ended.

Path Parameters

Name
Type
Description

uuid

string

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

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "total": "2",
  "data": [
    {
      "type": [
        "g"
      ],
      "country": "fr",
      "name": "BP ASNIERES ARGENTEUIL 8 À HUIT",
      "zip": "",
      "address": "96 AVENUE D ARGENTEUIL",
      "town": "",
      "url": null,
      "tel": null,
      "lat": 48.9144,
      "lng": 2.28353,
      "updated_time": "2017-05-23T12:47:49.000Z",
      "voiture_essence": null,
      "voiture_diesel": null,
      "utilitaire_essence": null,
      "utilitaire_diesel": null,
      "x4_essence": null,
      "x4_diesel": null,
      "negoce": null,
      "atelier": null,
      "reglementaire": null
    }
  ],
  "skip": 0,
  "limit": 1
}

Last updated

Was this helpful?