Devices status list

Get all devices status list by querying POST to /gkdevice/device with a Ventra API account using username and password which is in uppercase and SHA-256. When querying the POST method to /gkdevice/device, the system will return an array of all devices status with its all data. With Content-Type: application/json; charset=utf-8

Parameters
Name of Parameter Type Description
username string Required username. This API is administrator only
password string Required SHA-256 of your password which is uppercase
deviceid string Required deviceid of device
Example

Get all device status list by querying POST to URL /gkdevice/device with username and password

URL https://www.ventracloud.com/gkdevice/device POST /gkdevice/device Content-Type: application/json; charset=utf-8

{
    "username":"APIdemo",
    "password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6",
    "deviceid": "VG000032"
}
Response

The response is an array of all device status with details.

{
    "status": 1,
    "nmea": "$GPRMC,023059.000,A,2404.6680,N,12031.7232,E,0.88,333.28,310119,,,A*6E",
    "updatetime": "2019-01-31T02:31:38.000Z",
    "vehicleid": "Blake-VG01(VCP)",
    "drivername": "Blake",
    "channel": 1,
    "gpsdata": 
    {
        "time": 1548901859000,
        "lat": 24.0778,
        "lng": 120.52872,
        "speedInKmh": 1.63,
        "trackingAngle": 333.28
    }
}
  • Contact Us

    Contact Us


  • SHA-256 Converter

    SHA-256 Converter