Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

End point:

...

Сиписок доступних методів

  • parking

Приклад використання

Параметр

Приклад

Опис

auth_token

{ ваш токен авторизації }

FreeTrack token або bearer token

api_type

reports

тип запиту

api_name

parking

метод, який викликаємо

start

1688169600

дата початку відліку

end

1690848000

дата кінця відліку

id

8437

...

777

id девайсу (через кому, якщо потрібно передати кілька)

Приклад відповіді

Code Block
languagejson
{
    "result": "ok",
    "response": {
        "start": 0,
        "end": 0,
        "distance": 3080,
        "consumptionByNormative": 616.0059999999997,
        "maxSpeed": 136,
        "averageSpeed": 56.83540980230642,
        "speedExceeds": 2009,
        "durationWithOverSpeedLimit": 181,
        "distanceWithOverSpeedLimit": 5.88,
        "motohours": 0,
        "parkingEngineOn": 0,
        "parkingIgnitionOn": 27642,
        "durationOfMoving": 192767,
        "durationOfStop": 2399203,
        "parkingCount": 223,
        "detailLink": "?companyId=0&groupId=0&id=11750&dateFrom=1688158800&dateTo=1690750799",
        "deviceName": "Peugeot Expert *1 CAN",
        "monthItems": {
            "1688158800": {
                "start": 0,
                "end": 0,
                "distance": 3080,
                "consumptionByNormative": 616.0059999999997,
                "maxSpeed": 136,
                "averageSpeed": 56.83540980230642,
                "speedExceeds": 2009,
                "durationWithOverSpeedLimit": 181,
                "distanceWithOverSpeedLimit": 5.88,
                "motohours": 0,
                "parkingEngineOn": 0,
                "parkingIgnitionOn": 27642,
                "durationOfMoving": 192767,
                "durationOfStop": 2399203,
                "parkingCount": 223,
                "monthEnd": 1690837199,
                "items": {
                    "1688158800": {
                        "start": 0,
                        "end": 0,
                        "distance": 0.87,
                        "consumptionByNormative": 0.174,
                        "maxSpeed": 43,
                        "averageSpeed": 14.74074074074074,
                        "speedExceeds": 0,
                        "durationWithOverSpeedLimit": 0,
                        "distanceWithOverSpeedLimit": 0,
                        "motohours": 0,
                        "parkingEngineOn": 0,
                        "parkingIgnitionOn": 280,
                        "durationOfMoving": 62,
                        "durationOfStop": 86337,
                        "parkingCount": 2,
                        "dayEnd": 1688245199,
                        "detailLink": "?companyId=0&groupId=0&id=11750&dateFrom=1688158800&dateTo=1688245199",
                        "items": {
                            "1688158827": {
                                "type": "stop",
                                "start": 1688158800,
                                "end": 1688235436,
                                "duration": 76636,
                                "distance": 0.04,
                                "consumptionByNormative": 0.008,
                                "maxSpeed": 6,
                                "averageSpeed": 5.75,
                                "speedExceeds": 0,
                                "coordinates": {
                                    "lat": 49.8258016,
                                    "lon": 23.7804083
                                },
                                "engineOn": 0,
                                "ignitionOn": 38,
                                "zones": null,
                                "parkingNumber": 1,
                                "stateIndex": 1
                            },
                          ...
                        }
                    }
                }
            }
        }
    }     
}