Trip History

This api allows you to get the path for the provided trip id .

GET https://api.teliver.xyz/v1/triphistory/trip_id_here

Paramters

Parameters

Required

Values

Description

apikey

Yes

‚Äč

The api key is the unique identfier for your respective application. (You can get it from your Dashboard)

Response

{
"message": "Trip History",
"success": true,
"data": {
"loc": [{
"lnglat": [80.2711229, 13.0812846],
"event_id": "",
"time": "2017-08-31T14:47:29.685Z"
}, {
"lnglat": [80.2711716, 13.0814563],
"event_id": "",
"time": "2017-08-31T14:47:41.522Z"
}, {
"lnglat": [80.2711716, 13.0814563],
"event_id": "",
"time": "2017-08-31T14:47:56.674Z"
}, {
"lnglat": [80.2711716, 13.0814563],
"event_id": "",
"time": "2017-08-31T14:48:05.620Z"
}, {
"lnglat": [80.2711716, 13.0814563],
"event_id": "",
"time": "2017-08-31T14:48:14.646Z"
}, {
"lnglat": [80.2711716, 13.0814563],
"event_id": "",
"time": "2017-08-31T14:48:20.657Z"
}, {
"lnglat": [80.2711041, 13.0811361],
"event_id": "",
"time": "2017-08-31T14:48:32.694Z"
}, {
"lnglat": [80.2711041, 13.0811361],
"event_id": "",
"time": "2017-08-31T14:48:38.721Z"
}, {
"lnglat": [80.2711041, 13.0811361],
"event_id": "",
"time": "2017-08-31T14:48:47.731Z"
}, {
"lnglat": [80.2711041, 13.0811361],
"event_id": "",
"time": "2017-08-31T14:48:53.750Z"
}, {
"lnglat": [80.2712866, 13.0809769],
"event_id": "",
"time": "2017-08-31T14:49:08.816Z"
}, {
"lnglat": [80.2712866, 13.0809769],
"event_id": "",
"time": "2017-08-31T14:49:17.857Z"
}, {
"lnglat": [80.2712866, 13.0809769],
"event_id": "",
"time": "2017-08-31T14:49:23.871Z"
}, {
"lnglat": [80.2712866, 13.0809769],
"event_id": "",
"time": "2017-08-31T14:49:29.904Z"
}, {
"lnglat": [80.2712866, 13.0809769],
"event_id": "",
"time": "2017-08-31T14:49:35.904Z"
}, {
"lnglat": [80.2716106, 13.0807415],
"event_id": "",
"time": "2017-08-31T14:49:50.992Z"
}, {
"lnglat": [80.2716106, 13.0807415],
"event_id": "",
"time": "2017-08-31T14:49:56.990Z"
}, {
"lnglat": [80.2719032, 13.0811048],
"event_id": "",
"time": "2017-08-31T14:50:05.982Z"
}, {
"lnglat": [80.2719032, 13.0811048],
"event_id": "",
"time": "2017-08-31T14:50:21.055Z"
}, {
"lnglat": [80.2719032, 13.0811048],
"event_id": "",
"time": "2017-08-31T14:50:27.080Z"
}, {
"lnglat": [80.2719032, 13.0811048],
"event_id": "",
"time": "2017-08-31T14:50:39.121Z"
}, {
"lnglat": [80.2719032, 13.0811048],
"event_id": "",
"time": "2017-08-31T14:50:45.131Z"
}, {
"lnglat": [80.2720393, 13.0814578],
"event_id": "",
"time": "2017-08-31T14:50:57.141Z"
}],
"tracking_id": "test",
"trip_id": "trip_id_here",
"distance":7.2 //Distance in Kilometers
}
}