View Location
Used to get the live location of the driver or User.
Method Name - POST
Authorization - JWT token
Required Param -
driverId = “fsjf****sglayetefbkadyc”
Param Description :
driverId - You will get it from Add API.
Sample Response :
{
"message":"SUCCESS",
"data": {
"driverId": "****IgkvhKK0FInvC3YWtip0E3",
"gpsTime": 1613460984000,
"gpsDate": "2021-02-16",
"mobileNum": "638**7738",
"latitude": "13.035085277777778",
"longitude": "80.23090111111111",
"systemTime": 1613461852039,
"systemDate": "2021-02-16",
"tripPlanNum": 386,
"vehicleId": "AB05AD2504",
"vehicleName": null,
"driverTripNum": 0,
"driverName": null,
"status": null,
"location": "",
"address": ""
},
"errorDesc": null,
"errorCode": 100,
"successDesc": null,
}
Last modified 3mo ago