User

/users

GET apiURL/users

Get all users.

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
      "fb_email": "F",
      "name": null,
      "email": "",
      "lang": "fr",
      "created_at": "2016-09-11T11:39:44.000Z",
      "status": null,
      "blacklisted": 0,
      "avg_score_trip": 45.2485,
      "avg_score_accel": 40.0238,
      "avg_score_decel": 47.2321,
      "avg_score_gears": 45.3333,
      "avg_score_soft": 48.9821,
      "app_version": "2.91 (591)",
      "device_type": "ANDROID",
      "device_platform": "SM-G955F",
      "os_version": "8.0.0",
      "phone_number": null
    }
  ],
  "total": 25,
  "skip": 0,
  "limit": 1
}

/user/:uuid

GET apiURL/user/:uuid

Get an user by UUID.

Path Parameters

Name
Type
Description

uuid

string

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

Query Parameters

Name
Type
Description

fields

string

{
  "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
  "fb_email": "F",
  "name": null,
  "email": "",
  "lang": "fr",
  "created_at": "2016-09-11T11:39:44.000Z",
  "status": null,
  "blacklisted": 0,
  "avg_score_trip": 45.2485,
  "avg_score_accel": 40.0238,
  "avg_score_decel": 47.2321,
  "avg_score_gears": 45.3333,
  "avg_score_soft": 48.9821,
  "app_version": "2.91 (591)",
  "device_type": "ANDROID",
  "device_platform": "SM-G955F",
  "os_version": "8.0.0",
  "phone_number": null
}

/user/:uuid/trips

GET apiURL/user/:uuid/trips

Get all trips made by an user.

Path Parameters

Name
Type
Description

uuid

string

User 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": 40.467,
      "lng_start": -8.538158,
      "lat_end": 20.4743,
      "lng_end": -39.546779,
      "country_code": "FR",
      "lang": "fr",
      "address_start": "4 Rue du , 49100 Angers",
      "address_end": "72 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"
      },
      "uuid_user": "7af261ba-3fa2-11e7-b119-62ebcb67de24"
    }
  ],
  "total": 19,
  "skip": 0,
  "limit": 1
}

/user/:uuid/vehicles

GET apiURL/user/:uuid/vehicles

Get all vehicles of an user.

Path Parameters

Name
Type
Description

uuid

string

User 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": "2016-09-11T11:50:14.000Z",
      "user_data": {
        "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24"
      }
    }
  ],
  "total": 4,
  "skip": 0,
  "limit": 1
}

/user/:uuid/diagnostics

GET apiURL/user/:uuid/diagnostics

Get all diagnostics pulled by an user.

Path Parameters

Name
Type
Description

uuid

string

User 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
}

Last updated

Was this helpful?