GET/desk/api/v2/timelogs.json

Get a paginated list of timelogs.

The following values are allowed in the filter query parameter:

  • billable
  • createdAt
  • createdBy
  • date
  • deletedAt
  • deletedBy
  • description
  • id
  • project
  • projectstimelog
  • seconds
  • state
  • task
  • ticket
  • timelogs_id
  • timezoneOffset
  • updatedAt
  • updatedBy
  • user

The following values are allowed in the orderBy query parameter:

  • billable

  • createdAt

  • createdBy

  • customers.id

  • date

  • deletedAt

  • deletedBy

  • description

  • id

  • project

  • projectstimelog

  • seconds

  • state

  • task

  • ticket

  • tickets.id

  • timelogs_id

  • timezoneOffset

  • updatedAt

  • updatedBy

  • user

  • users.id

         The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
     
    
  • tickets

  • users

  • all

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TimelogsAPIBody represents the request/response on timelogs listing
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

Examples

200 OK

TimelogsAPIBody
{  "groups": {    "groups": [      {        "keys": {          "additionalProp": "Unknown Type: any"        },        "values": {          "additionalProp": "Unknown Type: any"        }      }    ],    "truncated": true  },  "included": {    "tickets": [      {        "activities": [