Tasks - Request Task information
GET yourdomain.com/api/tasks/:id
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Parameter
json
Field | Type | Description |
---|---|---|
id | Number |
Task unique ID. |
Success 200
json
Field | Type | Description |
---|---|---|
Tasks | Object |
information. |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
No data were found. |
HTTP/1.1 200 OK
{
"id": "10",
"name": "This is a task",
"description": "",
"priority": "2",
"dateadded": "2019-02-25 12:26:37",
"startdate": "2019-01-02 00:00:00",
"duedate": "2019-01-04 00:00:00",
"datefinished": null,
"addedfrom": "9",
"is_added_from_contact": "0",
"status": "4",
"recurring_type": null,
"repeat_every": "0",
"recurring": "0",
"is_recurring_from": null,
...
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}