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.

Name

Type

Description

status

String ('open' or 'closed')

only return open or closed tasks

start

Integer

The index of the first row to return, used with limit, to define a page of results.

limit

Integer

The number of users to return, used with start, to define a page of results. The default value is 100.

search_query

String

Search query text

count

Boolean

Return total count of results

assignee_user_id

Integer

A Zenput User ID

account_id

Integer

A 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
}