GET/desk/api/v2/timelogs/{id}.json

Get a single timelog by id.

The following values are allowed in the includes query parameter:

  • tickets
  • users
  • all

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Request Examples

Example Request

GET
/desk/api/v2/timelogs/{id}.json
curl --request GET \
     --url https://{site_name}.teamwork.com/tags.json

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TimelogAPIBody represents the request/response on timelogs get/create/patch
  • 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

TimelogAPIBody
{  "included": {    "tickets": [      {        "activities": [          {            "delete": true,            "id": 0,            "meta": {              "additionalProp": "Unknown Type: any"            },            "type": 0          }        ],        "agent": {          "delete": true,          "id": 0,          "meta": {