Online devices status list

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

Parameters
Name of Parameter Type Description
username string Required username
password string Required SHA-256 of your password which is uppercase
Example

Get all online devices status list by simply querying to URL /gkdevice/onlinelist with username and password

https://www.ventracloud.com/gkdevice/onlinelist POST /gkdevice/onlinelist Content-Type: application/json; charset=utf-8
{
    "username":"APIdemo",
    "password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6"
}

Response

The response is an array of all online devices status with details.

[
    {
        "deviceid": "VG000032",
        "status": 1,
        "nmea": "$GPRMC,022714.000,A,2404.6520,N,12031.7319,E,1.62,311.60,310119,,,A*69",
        "updatetime": "2019-01-31T02:27:52.000Z",
        "gpsdata": 
        {
            "time": 1548901634000,
            "lat": 24.077533333333335,
            "lng": 120.528865,
            "speedInKmh": 3,
            "trackingAngle": 311.6
        }
    },
    {
        "deviceid": "IP558995",
        "status": 1,
        "nmea": "",
        "updatetime": "2019-01-31T02:27:50.000Z"
    },
    {
        "deviceid": "TT001041",
        "status": 1,
        "nmea": "",
        "updatetime": "2019-01-31T02:27:52.000Z"
    },
    {
        "deviceid": "IP08D43C",
        "status": 1,
        "nmea": "",
        "updatetime": "2019-01-31T02:27:48.000Z"
    },
    //...
]

  • Contact Us

    Contact Us


  • SHA-256 Converter

    SHA-256 Converter