Get Task
This endpoint will allow you to grab all of the information for a given <TASK_ID>
GET: /api/v1/tasks/task/get/<TASK_ID>
curl --header "X-API-TOKEN: <API_TOKEN>" \
'https://www.zenput.com/api/v1/tasks/task/get/<TASK_ID>'
Output (success)
{
"success": true,
"status": 200,
"results": {
"fulfillment": null,
"lat": null,
"project": null,
"source": {
"version": null,
"reason": "",
"user": {
"id": 12237
},
"type": "mobile"
},
"date_created": {
"$date": 1529631069000
},
"version": {
"id": 1
},
"is_active": true,
"status": {
"id": 1,
"name": "Incomplete",
"type": "open"
},
"assignee": {
"id": null
},
"date_due": null,
"is_closed": false,
"id": 3811226,
"date_start": {
"$date": 1529631069000
},
"account": {
"phone": "5105253467",
"external_key": null,
"state": "CA",
"city": "San Francisco",
"name": "Testing",
"zipcode": "94103",
"lat": 37.7813107,
"email": null,
"id": 1593347,
"address": "454 Natoma St",
"country": "US",
"lon": -122.4062855
},
"company": {
"id": 6
},
"time_zone": "America/Los_Angeles",
"date_modified": {
"$date": 1529631069000
},
"reporter": {
"id": 12237,
"display_name": "Chris Patton",
"last_name": "Patton",
"first_name": "Chris"
},
"reply": {
"id": 2,
"type": "quick"
},
"title": "access",
"date_submitted": null,
"followers": [],
"title_image": [
"company/6/tasks/templates/2018/05/10/zp-1-1525992041218-1525992072928.jpg"
],
"description": null,
"lon": null
}
}
Updated over 6 years ago