List Tasks

This API will allow you to query for lists of tasks

GET: /api/v1/tasks/task/list_tasks/

$ curl -H 'X-API-TOKEN: <API_TOKEN>' \
    'https://www.zenput.com/api/v1/tasks/list_tasks/?start=0&limit=20'

Input parameters
All input parameters are optional.

NameTypeDescription
statusString ('open' or 'closed')only return open or closed tasks
startIntegerThe index of the first row to return, used with limit, to define a page of results.
limitIntegerThe number of users to return, used with start, to define a page of results. The default value is 100.
search_queryStringSearch query text
countBooleanReturn total count of results
assignee_user_idIntegerA Zenput User ID
account_idIntegerA Zenput Account (Location) ID

Output (success)

{
  "success": true,
  "status": 200
  "results": [
    {
      "fulfillment": null,
      "date_start": {
        "$date": 1529631069000
      },
      "account": {
        "id": 1593347,
        "name": "Testing"
      },
      "date_submitted": null,
      "time_zone": "America/Los_Angeles",
      "project": {
        "id": null
      },
      "assignee": {
        "id": null,
        "display_name": null
      },
      "date_created": {
        "$date": 1529631069000
      },
      "is_closed": false,
      "date_due": null,
      "title": "Example Task",
      "id": 3811226,
      "current_state": "incomplete_and_closed",
      "reply": {
        "type": "quick"
      }
    }
  ],
  "count": 1
}