Driver Tracking
Search
K

View Location History

View Location History
Method Name - POST
ContentType - Application/json
Authorization - JWT Token
Required Json :
{
"mobileNumber": "8**2807493",
"userId":"
K2ewe5JPjFYl6YI5v30x9IKXAy62
",
"startTime":1617344952000,
"stopTime":1617949769000
}
startTime - timestamp with milliseconds
stop time - timestamp with milliseconds
userId = Account UserId
Response :
{
"message": "SUCCESS",
"errorCode": 100,
"errorDesc": null,
"successDesc": null,
"dataList": [
{
"driverId": "brcofs***WaJwtQjxUD5H7ivBHo1",
"gpsTime": 1617357530000,
"gpsDate": "2021-04-02",
"mobileNum": "***2807493",
"latitude": "13.025203888888889",
"longitude": "80.20294194444445",
"systemTime": 1617358378193,
"systemDate": "2021-04-02",
"tripPlanNum": 2189,
"vehicleId": "LOADING1122",
"vehicleName": "LOADING1122",
"driverTripNum": 0,
"driverName": "THIRU",
"status": "LOCATION",
"location": "13.025203888888889,80.20294194444445",
"address": "4th Cross St,Chennai,Chennai,Tamil Nadu,India,600032"
},
{
"driverId":"brc**j3WaJwtQjxUD5H7ivBHo1",
"gpsTime": 1617358612000,
"gpsDate": "2021-04-02",
"mobileNum": *****807493",
"latitude": "13.025139444444445",
"longitude": "80.20330666666666",
"systemTime": 1617358989164,
"systemDate": "2021-04-02",
"tripPlanNum": 2189,
"vehicleId": "LOADING1122",
"vehicleName": "LOADING1122",
"driverTripNum": 0,
"driverName": "THIRU",
"status": "LOCATION",
"location": "13.025139444444445,80.20330666666666",
"address": "4th Cross St,Chennai,Chennai,Tamil Nadu,India,600032"
}
]
}
Error Response :
{
"message":"FAILURE",
"errorCode": 1035,
"errorDesc": "There is no plan.",
"successDesc": null,
"dataList": [],
"dataUnloadingList": null
}
Last modified 3mo ago