Follow

Upcoming Tasks

You can fetch a list of upcoming tasks (corresponding to those shown on the "My Work" page).

% curl https://app.liquidplanner.com/api/workspaces/:id/upcoming_tasks

Optional parameters include:

limit
max number of tasks to return
flat
boolean, default false, returns the list ungrouped if true
include_related_items
boolean, default false, includes related items if true (so you don’t have to make separate requests to fetch them)
member_id
ID number, defaults to the current member, specifying whose tasks to list

This call will return treeitems, but with one additional field present. The result will be a collection of groups. Each group represents a week or the Inbox. 

For example:

[ 
 {  "from": null,
    "to": null,
    "group": "INBOX",
    "items": [ {…} ]
  },
  {
    "from": "2015-10-04",
    "to": "2015-10-10",
    "group": "10/04/15 - 10/10/15",
    "items": [{…}]
  },
  { 
   "from": "2015-10-18",
   "to": "2015-10-24", 
   "group": "10/18/15 - 10/24/15",
    "items": [{…}]
  }
]

Items is a collection of treeitems, but they have one additional attribute. The attribute ‘is_related’ will be true for items which you do not own, but are returned because you have a checklist item on it.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk