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
  • projectsTimelogs_id
  • seconds
  • state
  • tickets_id
  • timelogs_id
  • timezoneOffset
  • updatedAt
  • updatedBy
  • users_id

The following values are allowed in the orderBy query parameter:

  • billable

  • createdAt

  • createdBy

  • customers.id

  • date

  • deletedAt

  • deletedBy

  • description

  • id

  • projectsTimelogs_id

  • seconds

  • state

  • tickets.id

  • tickets_id

  • timelogs_id

  • timezoneOffset

  • updatedAt

  • updatedBy

  • users.id

  • 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
{  "included": {    "tickets": [      {        "activities": [          {            "delete": true,            "id": 0,            "meta": {              "additionalProp": "Unknown Type: any"            },            "type": 0          }        ],        "agent": {          "delete": true,          "id": 0,          "meta": {