This api allows you to list the tasks based on the provided query parameters.
GET https://api.teliver.xyz/v1/task/list?apikey=Your_Api_Key
{
"message": "Task List",
"success": true,
"data": {
"task_list": [
{
"task_id": "rxiq3nGx7",
"type": 3,
"time": "2010-10-12T08:50:00.000Z",
"notes": "Food Delivery",
"status": "created",
"drop": {
"address": "Adyar",
"lnglat": [
80.6488,
13.8774545
],
"customer": {
"name": "Pickup Customer",
"mobile": "1234567"
}
},
"pickup": {
"address": "Nungambakkam",
"lnglat": [
80.2707,
13.0828657
],
"customer": {
"name": "Drop Customer",
"mobile": "12345678"
}
},
"order_id": "",
"updated_at": "2018-06-04T13:20:19.504Z",
"created_at": "2018-06-04T13:20:19.504Z"
},
{
"task_id": "g5e3432q3",
"type": 3,
"time": "2010-10-12T08:50:00.000Z",
"notes": "Food Delivery",
"status": "created",
"drop": {
"address": "Guindy",
"lnglat": [
80.6488,
13.8774545
],
"customer": {
"name": "Pickup Customer",
"mobile": "1234567"
}
},
"pickup": {
"address": "Porur",
"lnglat": [
80.2707,
13.0828657
],
"customer": {
"name": "Drop Customer",
"mobile": "12345678"
}
},
"order_id": "",
"updated_at": "2018-06-04T13:20:19.504Z",
"created_at": "2018-06-04T13:20:19.504Z"
}
]
}
}
This api is to get the details for a particular task with the given task id.
GET https://api.teliver.xyz/v1/task?apikey=Your_Api_Key
{
"message": "Task",
"success": true,
"data": {
"task": {
"updated_at": "2018-06-04T13:20:19.504Z",
"created_at": "2018-06-04T13:20:19.504Z",
"type": 3,
"time": "2010-10-12T08:50:00.000Z",
"notes": "Food Delivery",
"status": "created",
"drop": {
"address": "Adyar",
"lnglat": [
80.6488,
13.8774545
]
},
"pickup": {
"address": "Adyar",
"lnglat": [
80.2707,
13.0828657
]
},
"order_id": "",
"task_id": "rxiq3nGx7"
}
}
}