Skip to content
  • Home
  • Features
  • Contact Us
  • Login
  • Signup
  • Home
  • Features
  • Contact Us
  • Login
  • Signup

Consignment

  • How to create LR copy?
  • How to create consignment?

Invoice

  • How to generate an e-Invoice?

Accounts

  • How to do Receipt entry?
  • How to do payment entry?

Branches

  • How to set up a new branch?

Telematics & GPS

  • SIM Tracking

API Docs

  • GPS Integration
  • Home
  • Docs
  • API Docs
  • GPS Integration

GPS Integration

Overview

This guide shows how to push GPS data to our server so that you can track your vehicles from the application.

Step 1: Please make sure you’ve registered the vehicle number and enabled GPS option in our application before pushing the data to our server.

Step 2: Contact your service provider for sharing the data with us by pushing the live GPS data to our REST API endpoint at regular intervals of time.

Step 3: Once our server starts receiving the data from the GPS provider, you will be able to see the real-time tracking in a map view.

API Request

GPS requests are sent using POST to the following URL:

https://app.corelogis.in:5601/gps?key=YOUR_API_KEY

You must specify a key in your request, included as the value of a key parameter. A key found in the application.

Request body

The request body must be formatted as JSON. The following fields are supported, and all fields are optional unless otherwise stated:

{
 
  "LocationData": [
    {
      "unit_no": "358735077269792",
      "asset_type": "Lorry",
      "latitude": 11.252761111111111,
      "longitude": 77.56259555555556,
      "speed": 40,
      "ignitionon": "False",
      "battery_status": "100",
      "gps_datetime": "2022-02-01T23:47:03.000+00:00",
      "assetId": "TN01HD3245",
      "lastheardfrom": "2022-02-01T23:47:03.000+00:00",
      "lastPositionUpdate": "2022-02-01T23:47:03.000+00:00",
      "heading": 129,
      "inmotion": "inmotion",
      "odometer": 61313.019,
      "addressLineOne": "Anna Nagar, Chennai, Tamilnadu, India.",
      "gmt": "<gmt>"
    }
  ]
}

NameTypeDefaultDescription
unit_nostringThe unique ID of the GPS Device
asset_typestringThe Type of vehicle where the GPS Device is installed.
latitudenumberLatitude value of the current position.
longitudenumberLongitude value of the current position.
speednumber0Speed of the vehicle in km/hr.
ignitiononbooleanfalseIgnition status of the vehicle.
battery_statusnumber0Remaining battery level in the vehicle.
gps_datetimedatetimeDate and Time from the Device.
assetIdstringLegal Registration Number of the vehicle.
lastheardfromdatetimeLast Time when heard from the device.
lastPositionUpdatedatetimeLast position time from the device.
headingnumberThe direction of the vehicle is in the equator degree.
inmotionstringStatus of the vehicle whether it is “inmotion” or “notinmotion”
odometernumberLatest Odometer reading value.
addressLineOnestringReadable address based on latitude and longitiude.
gmtdatetimeStandard GMT Time.
Still stuck? How can we help?

How can we help?

Updated on October 1, 2022

Copyright © 2021 CoreLogis | All Rights Reserved.
Powered by Purplespot