getUserVehicleLiveData
Multiple user with live data with can parameter.
POSThttps://yourdomain.comwebservice?token=getUserVehicleLiveData&ProjectId=37
Request Parameters
Parameter | Type | Value | Description |
---|---|---|---|
vehicle_nos | String | Comma separated company names not mandatory | |
imei_nos | String | Comma separated imei nos not mandatory | |
company_names | String | Comma separated company names not mandatory |
Description
Live Data with can parameters
If no parameter pass in request then all vehicle data will be received
Response
Key | Format | Is Mandatory | Description |
imei_no | long | yes | imei no of vehicle |
plate_no | String | Yes | plate no of vehicle |
company_name | String | Yes | company name of vehicle |
branch_name | String | yes | Branch name of vehicle |
gps | JSON object | yes | gps parameters of vehicle |
external_voltage | String | yes | external voltage of vehicle |
gps_actual_date_time | String | yes | actual time of data |
gps_received_date_time | String | yes | data receive time of data |
heading | int | yes | heading value |
latitude | double | yes | latitude of vehicle |
location | string | yes | location of vehicle |
power | string | yes | power port value |
internal_voltage | string | yes | internal voltage of vehicle |
ignition | String | yes | ignition value |
speed | String | yes | speed of vehicle |
longitude | double | yes | longitude of vehicle |
can_or_obd_parameters | JSON array | yes | all can parameter available on device will be shown as key and their respectd value in string |
Sample Response
Success{
"result": 1,
"data": [
{
"imei_no": 1,
"plate_no": "1",
"company_name": "Xyz",
"branch_name": "Xyz",
"gps": {
"external_voltage": "0",
"gps_actual_date_time": "2023-10-27 13:57:23",
"gps_received_date_time": "2023-10-27 13:57:23",
"heading": 0,
"latitude": 6.297513,
"location": "Xyz",
"power": "Off",
"internal_voltage": "0",
"ignition": "Off",
"speed": "0km/h",
"longitude": 1.212961
},
"can_or_obd_parameters": [
{
"BMS1 ID": "asda1220"
},
{
"Total Vehicle Distance": "91500 meter"
}
]
}
],
"message": ""
}
fail
{
"result": 0,
"data": [
],
"message": ""
}
Response codes
Code | Description |
---|
Error codes
Code | Name | Description |
---|