All devices status list
Get all devices status list by querying POST to /gkdevice/alllist with an Ventra API
account
using username and password which is in uppercase and SHA-256. When calling
the
POST method to /gkdevice/alllist, the system will return an array of all devices with its
all
data
Parameters
| Name of Parameter | Type | Description |
|---|---|---|
| username | string | Required username provide by
Ventra Cloud |
| password | string | Required SHA-256 of your password
which is uppercase |
Example
Get all devices status list by querying POST to URL /gkdevice/alllist
with your given username and password
URL https://www.ventracloud.com/gkdevice/alllist
POST /gkdevice/alllist
Content-Type: application/json; charset=utf-8
{
"username":"APIdemo",
"password":"58F0DB19BE70BFD8E53E1CAC8C32514853E97D0A44DA9B68A72046B7730BD5A6"
}
Response
The response is an array of all devices status with details.
[
{
"deviceid": "BT001903",
"status": 1,
"nmea": "$GPRMC,020035.000,A,2259.8026,N,12013.3853,E,0.43,95.07,310119,,,A*513E",
"updatetime": "2019-01-31T02:00:40.000Z",
"vehicleid": "BT001903",
"drivername": "BT001903",
"channel": 8,
"gpsdata":
{
"time": 1548900035000,
"lat": 22.99671,
"lng": 120.22308833333334,
"speedInKmh": 0.8,
"trackingAngle": 95.07
}
},
{
"deviceid": "BT001819",
"status": 1,
"nmea": "$GPRMC,020037.000,A,2259.8118,N,12013.3748,E,0.00,219.71,310119,,,A*6AE",
"updatetime": "2019-01-31T02:00:40.000Z",
"vehicleid": "BT001819",
"drivername": "BT001819",
"channel": 8,
"gpsdata":
{
"time": 1548900037000,
"lat": 22.996863333333334,
"lng": 120.22291333333334,
"speedInKmh": 0,
"trackingAngle": 219.71
}
},
//...
]
