T
T
Teliver
Search…
Get Task
This api allows you to list the tasks based on the provided query parameters.
1
GET https://api.teliver.xyz/v1/task/list?apikey=Your_Api_Key
Copied!
Parameters
Requires
Values
Description
apikey
yes
The api key is the unique identfier for your respective application. (You can get it from your Dashboard). Always pass this as query parameter
driver_id
no
Driver id
The driver id is the key to list the tasks associated with driver.
status
no
“assigned,in_progress,completed”
The status of the tasks can be passed with the comma separated values.
page
no
Default: 1
The page number whose values to be retrieved.
limit
no
Default: 10
The limit is the limit value of the task list to be fetched.
RESPONSE:
1
{
2
"message": "Task List",
3
"success": true,
4
"data": {
5
"task_list": [
6
{
7
"task_id": "rxiq3nGx7",
8
"type": 3,
9
"time": "2010-10-12T08:50:00.000Z",
10
"notes": "Food Delivery",
11
"status": "created",
12
"drop": {
13
"address": "Adyar",
14
"lnglat": [
15
80.6488,
16
13.8774545
17
],
18
"customer": {
19
"name": "Pickup Customer",
20
"mobile": "1234567"
21
}
22
},
23
"pickup": {
24
"address": "Nungambakkam",
25
"lnglat": [
26
80.2707,
27
13.0828657
28
],
29
"customer": {
30
"name": "Drop Customer",
31
"mobile": "12345678"
32
}
33
},
34
"order_id": "",
35
"updated_at": "2018-06-04T13:20:19.504Z",
36
"created_at": "2018-06-04T13:20:19.504Z"
37
},
38
{
39
"task_id": "g5e3432q3",
40
"type": 3,
41
"time": "2010-10-12T08:50:00.000Z",
42
"notes": "Food Delivery",
43
"status": "created",
44
"drop": {
45
"address": "Guindy",
46
"lnglat": [
47
80.6488,
48
13.8774545
49
],
50
"customer": {
51
"name": "Pickup Customer",
52
"mobile": "1234567"
53
}
54
},
55
"pickup": {
56
"address": "Porur",
57
"lnglat": [
58
80.2707,
59
13.0828657
60
],
61
"customer": {
62
"name": "Drop Customer",
63
"mobile": "12345678"
64
}
65
},
66
"order_id": "",
67
"updated_at": "2018-06-04T13:20:19.504Z",
68
"created_at": "2018-06-04T13:20:19.504Z"
69
}
70
]
71
}
72
}
Copied!
GET PARTICULAR TASK:
This api is to get the details for a particular task with the given task id.
1
GET https://api.teliver.xyz/v1/task?apikey=Your_Api_Key
Copied!
Parameters
Requires
Values
Descriptions
task_id
yes
Task Id
The task id is the key to find the particular task.
RESPONSE:
1
{
2
"message": "Task",
3
"success": true,
4
"data": {
5
"task": {
6
"updated_at": "2018-06-04T13:20:19.504Z",
7
"created_at": "2018-06-04T13:20:19.504Z",
8
"type": 3,
9
"time": "2010-10-12T08:50:00.000Z",
10
"notes": "Food Delivery",
11
"status": "created",
12
"drop": {
13
"address": "Adyar",
14
"lnglat": [
15
80.6488,
16
13.8774545
17
]
18
},
19
"pickup": {
20
"address": "Adyar",
21
"lnglat": [
22
80.2707,
23
13.0828657
24
]
25
},
26
"order_id": "",
27
"task_id": "rxiq3nGx7"
28
}
29
}
30
}
Copied!
Last modified 1yr ago
Copy link