GET/tasks/{id}/time/total.json

Total Time on a Task

Path Params

  • Name
    id
    Type
    string
    required
    Description

Query Params

  • Name
    fromDate
    Type
    string
    Description
    string (YYYYMMDD) - The start date to retrieve from
  • Name
    fromTime
    Type
    string
    Description
    string (HH:MM) - The start time only if fromdate is passed
  • Name
    toDate
    Type
    string
    Description
    string (YYYYMMDD) - The end date to retrieve to
  • Name
    toTime
    Type
    string
    Description
    string (HH:MM) - The end time only if todate is passed
  • Name
    userId
    Type
    integer
    Description
    Return time logs for a specific user only
  • Name
    projectType
    Type
    string
    Description
    string (all, active, archived) - Filter the time entries to those in Active projects, Archived projects or All projects.

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "STATUS": "OK",
  "projects": [
    {
      "company": {
        "name": "Digital Crew",
        "id": "47"
      },
      "name": "Time Logging Project",
      "tasklist": {
        "name": "Time Rollup",
        "task": {
          "time-estimates": {
            "total-hours-estimated": "0.00",
            "active-mins-estimated": "0",
            "total-mins-estimated": "0",
            "active-hours-estimated": "0.00",
            "completed-hours-estimated": "0.00",
            "completed-mins-estimated": "0"
          },
          "name": "Some specific task",
          "id": "7641",
          "time-totals": {
            "total-mins-sum": "25",
            "non-billed-mins-sum": "25",
            "non-billable-hours-sum": "0.42",
            "total-hours-sum": "0.42",
            "billed-mins-sum": "0",
            "billed-hours-sum": "0.00",
            "billable-hours-sum": "0.42",
            "non-billable-mins-sum": "25",
            "non-billed-hours-sum": "0.42",
            "billable-mins-sum": "25"
          }
        },
        "id": "1027"
      },
      "id": "1049"
    }
  ]
}