GET/completedtasks.json

Get completed Tasks

Retrieve completed Tasks in the last 1 month. You can use the statedate and enddate to go further back in time.


Query Params

  • Name
    page
    Type
    integer
    Description
    Optionally, you can set the page from which to start retrieving results. This is usually used in conjunction with the parameter pageSize. For example: ?page=2&pageSize=10 will retrieve results 10-20.
  • Name
    pageSize
    Type
    integer
    Description
    The amount of tasks returned can be limited using this parameter. Normally used in conjunction with the page parameter.
  • Name
    startdate
    Type
    string
    Description
    Tasks within a range of dates can be returned by setting a startdate and enddate. The format should be YYYYMMDD. For example: ?startdate=20140512&enddate=20140513 will get all of the tasks from the 12th of May 2014 till the 13th of May 2014.
  • Name
    enddate
    Type
    string
    Description
    Must be used in conjunction with startdate, see above.
  • Name
    includeArchivedProjects
    Type
    boolean
    Description
    Set to true or false to include archived Projects in the response

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "tasks": [
    {
      "canComplete": true,
      "lastChangedOn": "2017-09-12T11:16:34Z",
      "dueDate": "",
      "harvestEnabled": true,
      "tasklistId": "741879",
      "canViewOthersTime": true,
      "creatorId": "165812",
      "numEstMins": "0",
      "canViewEstTime": true,
      "creatorFirstName": "Glenn",
      "projectId": "218009",
      "private": "0",
      "dueDateBase": "",
      "tags": [],
      "canEdit": true,
      "startDate": "",
      "content": "Sample task 1",
      "createdOn": "2017-09-11T14:57:23Z",
      "id": "7237249",
      "completed": true,
      "completerId": "165812",
      "position": "2000",
      "tasklistName": "Master (#3)",
      "tasklistDescription": "A master todo list for the project",
      "description": "",
      "companyName": "Demo",
      "priority": "",
      "progress": "100",
      "completerFirstName": "Glenn",
      "projectName": "Sample",
      "completedOn": "2017-09-12T11:16:34Z",
      "creatorLastName": "Goggin",
      "projectStatus": "active",
      "canLogTime": true,
      "projectDescription": "",
      "totalBillableTimeLogged": "0",
      "creatorAvatarUrl": "https://s3.amazonaws.com/TWFiles/422641/userAvatar/twia_a42026eaa4dd7adb1032c7968e9badff.png/f2cf1458e408009fd0f17c856099856a.png",
      "completerLastName": "Goggin",
      "totalTimeLogged": "0",
      "completerAvatarUrl": "https://s3.amazonaws.com/TWFiles/422641/userAvatar/twia_a42026eaa4dd7adb1032c7968e9badff.png/f2cf1458e408009fd0f17c856099856a.png",
      "lockdownId": "",
      "companyId": "77205"
    }
  ],
  "STATUS": "OK"
}