T
T
Teliver
Search…
Trip History
This api allows you to get the path for the provided trip id .
1
GET https://api.teliver.xyz/v1/triphistory/trip_id_here
Copied!

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

1
{
2
"message": "Trip History",
3
"success": true,
4
"data": {
5
"loc": [{
6
"lnglat": [80.2711229, 13.0812846],
7
"event_id": "",
8
"time": "2017-08-31T14:47:29.685Z"
9
}, {
10
"lnglat": [80.2711716, 13.0814563],
11
"event_id": "",
12
"time": "2017-08-31T14:47:41.522Z"
13
}, {
14
"lnglat": [80.2711716, 13.0814563],
15
"event_id": "",
16
"time": "2017-08-31T14:47:56.674Z"
17
}, {
18
"lnglat": [80.2711716, 13.0814563],
19
"event_id": "",
20
"time": "2017-08-31T14:48:05.620Z"
21
}, {
22
"lnglat": [80.2711716, 13.0814563],
23
"event_id": "",
24
"time": "2017-08-31T14:48:14.646Z"
25
}, {
26
"lnglat": [80.2711716, 13.0814563],
27
"event_id": "",
28
"time": "2017-08-31T14:48:20.657Z"
29
}, {
30
"lnglat": [80.2711041, 13.0811361],
31
"event_id": "",
32
"time": "2017-08-31T14:48:32.694Z"
33
}, {
34
"lnglat": [80.2711041, 13.0811361],
35
"event_id": "",
36
"time": "2017-08-31T14:48:38.721Z"
37
}, {
38
"lnglat": [80.2711041, 13.0811361],
39
"event_id": "",
40
"time": "2017-08-31T14:48:47.731Z"
41
}, {
42
"lnglat": [80.2711041, 13.0811361],
43
"event_id": "",
44
"time": "2017-08-31T14:48:53.750Z"
45
}, {
46
"lnglat": [80.2712866, 13.0809769],
47
"event_id": "",
48
"time": "2017-08-31T14:49:08.816Z"
49
}, {
50
"lnglat": [80.2712866, 13.0809769],
51
"event_id": "",
52
"time": "2017-08-31T14:49:17.857Z"
53
}, {
54
"lnglat": [80.2712866, 13.0809769],
55
"event_id": "",
56
"time": "2017-08-31T14:49:23.871Z"
57
}, {
58
"lnglat": [80.2712866, 13.0809769],
59
"event_id": "",
60
"time": "2017-08-31T14:49:29.904Z"
61
}, {
62
"lnglat": [80.2712866, 13.0809769],
63
"event_id": "",
64
"time": "2017-08-31T14:49:35.904Z"
65
}, {
66
"lnglat": [80.2716106, 13.0807415],
67
"event_id": "",
68
"time": "2017-08-31T14:49:50.992Z"
69
}, {
70
"lnglat": [80.2716106, 13.0807415],
71
"event_id": "",
72
"time": "2017-08-31T14:49:56.990Z"
73
}, {
74
"lnglat": [80.2719032, 13.0811048],
75
"event_id": "",
76
"time": "2017-08-31T14:50:05.982Z"
77
}, {
78
"lnglat": [80.2719032, 13.0811048],
79
"event_id": "",
80
"time": "2017-08-31T14:50:21.055Z"
81
}, {
82
"lnglat": [80.2719032, 13.0811048],
83
"event_id": "",
84
"time": "2017-08-31T14:50:27.080Z"
85
}, {
86
"lnglat": [80.2719032, 13.0811048],
87
"event_id": "",
88
"time": "2017-08-31T14:50:39.121Z"
89
}, {
90
"lnglat": [80.2719032, 13.0811048],
91
"event_id": "",
92
"time": "2017-08-31T14:50:45.131Z"
93
}, {
94
"lnglat": [80.2720393, 13.0814578],
95
"event_id": "",
96
"time": "2017-08-31T14:50:57.141Z"
97
}],
98
"tracking_id": "test",
99
"trip_id": "trip_id_here",
100
"distance":7.2 //Distance in Kilometers
101
}
102
}
Copied!
Copy link