API / Methods / wizehive.tasks.getList

wizehive.tasks.getList

Gets a list of tasks.

Authentication

This method requires authentication.

Arguments

api_key
(Required)
Your API application key. See here for more details.
ws_id
(Optional)
Id of the workspace you want the list of tasks for.
pg_id
(Optional)
Id of the page you want the list of tasks for.
res_id
(Optional)
Id of the person you want the list of tasks for.
status
(Optional)
Filter that task list by a comma-separated list of statuses.
page
(Optional)
Page number of list.
per_page
(Optional)
Tasks per page (default 100).

status
can be
'open', 'completed', 'inprogress', 
and/or
 'archived'

Example Response

<tasks>
  <task id="1" created="2008-11-25 23:15:08" createdBy="markcarlson" workspace="Camping" workspace_id="1" page="Equipment" page_id="1" person="mcarlson@wizehive.com" person_id="1" priority="1" dueDate="0000-00-00" taskType="camping" status="Open">buy tent</task>
  <task id="2" created="2008-11-17 11:30:36" createdBy="markcarlson" workspace="Camping" workspace_id="1" page="Equipment" page_id="1" person="mcarlson@wizehive.com" person_id="1" priority="1" dueDate="0000-00-00" taskType="to-do" status="In Progress">pack axe</task>
  <task id="3" created="2008-11-19 22:57:27" createdBy="markcarlson" workspace="Home" workspace_id="2" page="Finance" page_id="5" person="dsmith@wizehive.com" person_id="2" priority="4" dueDate="2009-01-12" taskType="bill" status="Archived">pay water bill</task>
  <task id="4" created="2008-11-21 13:51:27" createdBy="markcarlson" workspace="Home" workspace_id="2" page="Finance" page_id="5" person="mcarlson@wizehive.com" person_id="3" priority="3" dueDate="0000-00-00" taskType="to-do" status="Open">need to buy ladder so I can clean gutters</task>
  <task id="5" created="2008-11-27 16:38:53" createdBy="markcarlson" workspace="Home" workspace_id="2" page="Car" page_id="4" person="cthomas@wizehive.com" person_id="4" priority="1" dueDate="2009-02-12" taskType="maintenance" status="Completed">oil change</task>
</tasks>

Error Codes

98: Login failed / Invalid auth token

The login details or auth token passed were invalid.
100: Invalid API Key

The API key passed was not valid or has expired.
112: Method "xxx" not found

The requested method was not found.