The Datamotion Developer Hub

Welcome to the Datamotion developer hub. You'll find comprehensive guides and documentation to help you start working with our embedded services as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    API Reference

Statistics API

Introduction

The APIs provide you with a user and admin Authentication that can use for the end-user interface and the admin workspace.

📘

API Authentication

Read more about Platform Layout and Authentication

Accumulated statistics


:zap: API Reference Accumulated statistics

{
    "Result": {
        "DeviceToken": "00000000-00000000-00000000-00000000",
        "InstanceId": "00000000-00000000-00000000-000000000",
        "AppId": "00000000-00000000-00000000-00000000",
        "CompanyId": "00000000-00000000-00000000-00000000",
        "MileageKm": 5.356,
        "MileageMile": 3.3282183999999995,
        "TripsCount": 3,
        "DriverTripsCount": 3,
        "OtherTripsCount": 0,
        "MaxSpeedKmh": 64.51200103759766,
        "MaxSpeedMileh": 40.08775744476318,
        "AverageSpeedKmh": 30.206527508299782,
        "AverageSpeedMileh": 18.77033619365748,
        "TotalSpeedingKm": 1.004,
        "TotalSpeedingMile": 0.6238855999999999,
        "AccelerationCount": 2,
        "BreakingCount": 2,
        "CorneringCount": 4,
        "PhoneUsageDurationMin": 0.75,
        "PhoneUsageDistanceKm": 0.396,
        "PhoneUsageDistanceMile": 0.2460744,
        "PhoneUsageOverSpeedDurationMin": 3,
        "PhoneUsageOverSpeedDistanceKm": 4,
        "PhoneUsageOverSpeedDistanceMile": 1,
        "DrivingTime": 16.55,
        "NightDrivingTime": 2,
        "DayDrivingTime": 3,
        "RushHoursDrivingTime": 16.516666889190674
    },
    "Status": 200,
    "Title": "",
    "Errors": []
}

Daily statistics


:zap: API Reference Daily statistics

{
    "Result": [
        {
            "DeviceToken": "00000000-00000000-00000000-00000000",
            "InstanceId": "00000000-00000000-00000000-00000000",
            "AppId": "00000000-00000000-00000000-00000000",
            "CompanyId": "00000000-00000000-00000000-00000000",
            "ReportDate": "2021-03-09T00:00:00",
            "MileageKm": 5.356,
            "MileageMile": 3.3282,
            "TripsCount": 3,
            "DriverTripsCount": 3,
            "OtherTripsCount": 0,
            "MaxSpeedKmh": 64.512,
            "MaxSpeedMileh": 40.0877,
            "AverageSpeedKmh": 30.2065,
            "AverageSpeedMileh": 18.77,
            "TotalSpeedingKm": 1.004,
            "TotalSpeedingMile": 0.62388,
            "AccelerationCount": 2,
            "BreakingCount": 2,
            "CorneringCount": 0,
            "PhoneUsageDurationMin": 0.75,
            "PhoneUsageDistanceKm": 0.396,
            "PhoneUsageDistanceMile": 0.2460744,
            "PhoneUsageOverSpeedDurationMin": 0.256,
            "PhoneUsageOverSpeedDistanceKm": 0.556,
            "PhoneUsageOverSpeedDistanceMile": 10.4,
            "DrivingTime": 16.55,
            "NightDrivingTime": 20,
            "DayDrivingTime": 50,
            "RushHoursDrivingTime": 16.516
        },
        {
            "DeviceToken": "00000000-00000000-00000000-00000000",
            "InstanceId": "00000000-00000000-00000000-00000000",
            "AppId": "00000000-00000000-00000000-00000000",
            "CompanyId": "00000000-00000000-00000000-00000000",
            "ReportDate": "2021-03-10T00:00:00",
            "MileageKm": 5.356,
            "MileageMile": 3.3282,
            "TripsCount": 3,
            "DriverTripsCount": 3,
            "OtherTripsCount": 0,
            "MaxSpeedKmh": 64.512,
            "MaxSpeedMileh": 40.087,
            "AverageSpeedKmh": 30.206527,
            "AverageSpeedMileh": 18.7703,
            "TotalSpeedingKm": 1.004,
            "TotalSpeedingMile": 0.6238855,
            "AccelerationCount": 2,
            "BreakingCount": 2,
            "CorneringCount": 0,
            "PhoneUsageDurationMin": 0.75,
            "PhoneUsageDistanceKm": 0.396,
            "PhoneUsageDistanceMile": 0.2460744,
            "PhoneUsageOverSpeedDurationMin": 0.256,
            "PhoneUsageOverSpeedDistanceKm": 0.556,
            "PhoneUsageOverSpeedDistanceMile": 10.4,
            "DrivingTime": 16.55,
            "NightDrivingTime": 20,
            "DayDrivingTime": 50,
            "RushHoursDrivingTime": 16.516
        }
    ],
    "Status": 200,
    "Title": "",
    "Errors": []
}

Updated 13 days ago


Statistics API


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.