Location - (GPS)

Last Location Status

Gets the most recent GPS location data.

curl https://apiplatform.intellicar.in/api/standard/getlastgpsstatus \
  --header 'Content-Type: application/json' \
  --data '{"token": "<token>", "vehicleno": "<vehicleno>"}'

Response:

{
  "status": "SUCCESS|FAILURE",
  "data": {
    "commtime": "<utc-epoch>",
    "lat": "<latitude>",
    "lng": "<longitude>",
    "alti": "<altitude>",
    "devbattery": "<device-battery-voltage>",
    "vehbattery": "<vehicle-battery-voltage>",
    "speed": "<speed>",
    "heading": "<heading>",
    "ignstatus": "<ignition-status>",
    "mobili": "<mobility-status>",
    "dout_1": "<int>",
    "dout_2": "<int>"
  },
  "err": "<err>",
  "msg": "<msg>"
}
  • mobili: 0 = mobilized, 1 = immobilized.


Location History

Gets location data (GPS) within a specified time range.

Response:


Last updated