API Documentation

API Endpoint

Time Entries

Time Entries

Supported filter params

  • id

  • person_id (array)

  • task_id (array)

  • deal_id (array)

  • project_id (array)

  • service_id (array)

  • booking_id (array)

  • status (1: approved, 2: unapproved)

  • responsible_id (array)

  • company_id (array)

  • after

  • before

Supported sort params

  • date

Supported aggregates params

  • total_cost

  • total_time

  • total_billable_time

Filter operations are supported on this endpoint.

GET /api/v2/time_entries
Requestsreturns servicesreturns servicesreturns error

GET  /api/v2/time_entries

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [
    {
      "id": "6",
      "type": "time_entries",
      "attributes": {
        "date": "2016-10-01",
        "created_at": "2020-08-11T01:05:48.674+02:00",
        "time": 480,
        "billable_time": 480,
        "note": "test note",
        "track_method_id": 1,
        "tracking_type_id": null,
        "started_at": null,
        "timer_started_at": null,
        "approved": false,
        "approved_at": null,
        "updated_at": "2020-08-11T01:05:48.674+02:00",
        "invoiced": false,
        "rejected": false,
        "rejected_reason": null,
        "rejected_at": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "overhead_cost": 0,
        "overhead_cost_default": 0,
        "overhead_cost_normalized": 0,
        "internal_overhead_cost": 0,
        "internal_overhead_cost_default": 0,
        "internal_overhead_cost_normalized": 0,
        "facility_overhead_cost": 0,
        "facility_overhead_cost_default": 0,
        "facility_overhead_cost_normalized": 0,
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "profit": -16000,
        "profit_default": -20000,
        "profit_normalized": -16000
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "1594"
          }
        },
        "service": {
          "data": {
            "type": "services",
            "id": "39"
          }
        },
        "task": {
          "data": {
            "type": "tasks",
            "id": "106"
          }
        },
        "approver": {
          "data": null
        },
        "updater": {
          "data": {
            "type": "people",
            "id": "1594"
          }
        },
        "rejecter": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "1594",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1547@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:05:48.000+02:00",
        "last_seen_at": "2020-08-11T01:05:48.716+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:48.114+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2133"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "39",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "104"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "149"
          }
        }
      }
    },
    {
      "id": "106",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2020-08-11T01:05:48.342+02:00",
        "repeat_schedule_id": null,
        "repeat_on_interval": null,
        "repeat_on_monthday": null,
        "repeat_on_weekday": [],
        "repeat_on_date": null,
        "repeat_origin_id": null,
        "email_key": "29777a57c7cef8c85efbfef6202eca99",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "creation_method_id": 1,
        "closed": false,
        "due_time": null,
        "tag_list": [],
        "position": 1,
        "last_activity_at": null,
        "initial_estimate": null,
        "remaining_time": null,
        "worked_time": 480,
        "deleted_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "351"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1596"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "100"
          }
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "2133",
      "type": "companies",
      "attributes": {
        "name": "Organization651",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:05:48.112+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "104",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        }
      }
    },
    {
      "id": "149",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "3df4363d2355b81846831ee742433109",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:05:48.638+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1594"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2142"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1594"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "351"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "351",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 20000,
        "cost_default": 20000,
        "cost_normalized": 20000,
        "profit": 105000,
        "profit_default": 105000,
        "profit_normalized": 105000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2135"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1595"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "1596",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1549@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:48.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:48.187+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2136"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "100",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone87",
        "position": 1,
        "archived_at": null,
        "email_key": "d8715ecd58ff88bd296b694e720641ff"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "352"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "112"
          }
        }
      }
    },
    {
      "id": "2142",
      "type": "companies",
      "attributes": {
        "name": "Client1492",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.631+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2135",
      "type": "companies",
      "attributes": {
        "name": "Client1485",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.157+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1595",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1548@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:48.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:48.138+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2134"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2136",
      "type": "companies",
      "attributes": {
        "name": "Client1486",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.184+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "352",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 2,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2138"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1597"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "112",
      "type": "boards",
      "attributes": {
        "name": "Board98",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "353"
          }
        }
      }
    },
    {
      "id": "2134",
      "type": "companies",
      "attributes": {
        "name": "Client1484",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.134+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2138",
      "type": "companies",
      "attributes": {
        "name": "Client1488",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.237+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1597",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1550@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:48.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:48.214+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2137"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "353",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 3,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 1,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2140"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1598"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2137",
      "type": "companies",
      "attributes": {
        "name": "Client1487",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.210+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2140",
      "type": "companies",
      "attributes": {
        "name": "Client1490",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.284+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1598",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1551@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:48.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:48.265+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2139"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2139",
      "type": "companies",
      "attributes": {
        "name": "Client1489",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:48.261+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 651
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "links": {
    "first": "http://www.example.com/api/v2/time_entries?page%5Bnumber%5D=1&page%5Bsize%5D=30",
    "last": "http://www.example.com/api/v2/time_entries?page%5Bnumber%5D=1&page%5Bsize%5D=30"
  },
  "meta": {
    "current_page": 1,
    "total_pages": 1,
    "total_count": 1,
    "page_size": 30,
    "max_page_size": 200,
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

GET  /api/v2/time_entries?filter[after]=2019-10-21&sort=date

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [],
  "links": {
    "first": "http://www.example.com/api/v2/time_entries?filter%5Bafter%5D=2019-10-21&page%5Bnumber%5D=1&page%5Bsize%5D=30&sort=date",
    "last": "http://www.example.com/api/v2/time_entries?filter%5Bafter%5D=2019-10-21&page%5Bnumber%5D=0&page%5Bsize%5D=30&sort=date"
  },
  "meta": {
    "current_page": 1,
    "total_pages": 0,
    "total_count": 0,
    "page_size": 30,
    "max_page_size": 200,
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

GET  /api/v2/time_entries?filter[after]=10/21/19&sort=date

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses400
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": "400",
      "code": "unsupported_filter_param",
      "title": "Unsupported Filter Value",
      "detail": "Unsupported value '10/21/19' for filter 'after' on this endpoint",
      "source": {
        "pointer": null
      }
    }
  ]
}

Get time entries
GET/api/v2/time_entries


GET /api/v2/time_entries/1
Requestsreturns time_entry

GET  /api/v2/time_entries/9

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "9",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:05:50.663+02:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2020-08-11T01:05:50.663+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 16000,
      "cost_default": 20000,
      "cost_normalized": 16000,
      "work_cost": 16000,
      "work_cost_default": 20000,
      "work_cost_normalized": 16000,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": -16000,
      "profit_default": -20000,
      "profit_normalized": -16000
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 654
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1612"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "42"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "109"
        }
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "1612"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "1612",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1565@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:05:50.000+02:00",
        "last_seen_at": "2020-08-11T01:05:50.701+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.162+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2163"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "42",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "107"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "152"
          }
        }
      }
    },
    {
      "id": "109",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2020-08-11T01:05:50.375+02:00",
        "repeat_schedule_id": null,
        "repeat_on_interval": null,
        "repeat_on_monthday": null,
        "repeat_on_weekday": [],
        "repeat_on_date": null,
        "repeat_origin_id": null,
        "email_key": "b05ed137c6cfbebe52d768b7528ff399",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "creation_method_id": 1,
        "closed": false,
        "due_time": null,
        "tag_list": [],
        "position": 1,
        "last_activity_at": null,
        "initial_estimate": null,
        "remaining_time": null,
        "worked_time": 480,
        "deleted_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "360"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1614"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "103"
          }
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "2163",
      "type": "companies",
      "attributes": {
        "name": "Organization654",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:05:50.161+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "107",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        }
      }
    },
    {
      "id": "152",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "6d40312dc65fd35d2061958b8b66899d",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:05:50.628+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1612"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2172"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1612"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "360"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "360",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 20000,
        "cost_default": 20000,
        "cost_normalized": 20000,
        "profit": 105000,
        "profit_default": 105000,
        "profit_normalized": 105000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2165"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1613"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "1614",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1567@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.233+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2166"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "103",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone90",
        "position": 1,
        "archived_at": null,
        "email_key": "496845163056a95ecb43f60d46ce1cf5"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "361"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "115"
          }
        }
      }
    },
    {
      "id": "2172",
      "type": "companies",
      "attributes": {
        "name": "Client1519",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.622+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2165",
      "type": "companies",
      "attributes": {
        "name": "Client1512",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.203+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1613",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1566@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.185+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2164"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2166",
      "type": "companies",
      "attributes": {
        "name": "Client1513",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.229+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "361",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 2,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2168"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1615"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "115",
      "type": "boards",
      "attributes": {
        "name": "Board101",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "362"
          }
        }
      }
    },
    {
      "id": "2164",
      "type": "companies",
      "attributes": {
        "name": "Client1511",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.181+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2168",
      "type": "companies",
      "attributes": {
        "name": "Client1515",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.282+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1615",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1568@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.265+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2167"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "362",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 3,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 1,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2170"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1616"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2167",
      "type": "companies",
      "attributes": {
        "name": "Client1514",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.261+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2170",
      "type": "companies",
      "attributes": {
        "name": "Client1517",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.326+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1616",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1569@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.308+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2169"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2169",
      "type": "companies",
      "attributes": {
        "name": "Client1516",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.304+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 654
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

Gets a time entry
GET/api/v2/time_entries/{id}

URI Parameters
HideShow
id
number (required) Example: 1

time_entry id


POST /api/v2/time_entries
Requestscreates time_entryreturns error

POST  /api/v2/time_entries

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "time_entries",
    "attributes": {
      "note": "test note",
      "date": "2016-10-01"
    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "1618"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "43"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "110"
        }
      }
    }
  }
}
Responses201
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "11",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:05:51.475+02:00",
      "time": 0,
      "billable_time": 0,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": 1,
      "started_at": null,
      "timer_started_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2020-08-11T01:05:51.475+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 0,
      "cost_default": 0,
      "cost_normalized": 0,
      "work_cost": 0,
      "work_cost_default": 0,
      "work_cost_normalized": 0,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": 0,
      "profit_default": 0,
      "profit_normalized": 0
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 655
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1618"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "43"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "110"
        }
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "1618"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "1618",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1571@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:05:51.000+02:00",
        "last_seen_at": "2020-08-11T01:05:51.450+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.888+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2173"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "43",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "108"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "153"
          }
        }
      }
    },
    {
      "id": "110",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2020-08-11T01:05:51.100+02:00",
        "repeat_schedule_id": null,
        "repeat_on_interval": null,
        "repeat_on_monthday": null,
        "repeat_on_weekday": [],
        "repeat_on_date": null,
        "repeat_origin_id": null,
        "email_key": "1282b260fecac4f102905fae2ade874a",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "creation_method_id": 1,
        "closed": false,
        "due_time": null,
        "tag_list": [],
        "position": 1,
        "last_activity_at": null,
        "initial_estimate": null,
        "remaining_time": null,
        "worked_time": 480,
        "deleted_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "363"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1620"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "104"
          }
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "2173",
      "type": "companies",
      "attributes": {
        "name": "Organization655",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:05:50.886+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "108",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        }
      }
    },
    {
      "id": "153",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "c25a34daf952555ac8b694639cb96818",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 2,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:05:51.361+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1618"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2182"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1618"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "363"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "363",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 20000,
        "cost_default": 20000,
        "cost_normalized": 20000,
        "profit": 105000,
        "profit_default": 105000,
        "profit_normalized": 105000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2175"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1619"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "1620",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1573@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.958+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2176"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "104",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone91",
        "position": 1,
        "archived_at": null,
        "email_key": "22255cd38861da6725f45a05ac88e72c"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "364"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "116"
          }
        }
      }
    },
    {
      "id": "2182",
      "type": "companies",
      "attributes": {
        "name": "Client1528",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:51.354+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2175",
      "type": "companies",
      "attributes": {
        "name": "Client1521",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.928+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1619",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1572@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.909+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2174"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2176",
      "type": "companies",
      "attributes": {
        "name": "Client1522",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.954+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "364",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 2,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2178"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1621"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "116",
      "type": "boards",
      "attributes": {
        "name": "Board102",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "365"
          }
        }
      }
    },
    {
      "id": "2174",
      "type": "companies",
      "attributes": {
        "name": "Client1520",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.906+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2178",
      "type": "companies",
      "attributes": {
        "name": "Client1524",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:51.001+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1621",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1574@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:50.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:50.984+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2177"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "365",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 3,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 1,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2180"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1622"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2177",
      "type": "companies",
      "attributes": {
        "name": "Client1523",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:50.980+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2180",
      "type": "companies",
      "attributes": {
        "name": "Client1526",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:51.047+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1622",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1575@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:51.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:51.029+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2179"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2179",
      "type": "companies",
      "attributes": {
        "name": "Client1525",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:51.025+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 655
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

POST  /api/v2/time_entries

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "time_entries",
    "attributes": {
      "date": ""
    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "1630"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "45"
        }
      }
    }
  }
}
Responses422
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": "422",
      "code": "invalid_attribute",
      "title": "Invalid Attribute",
      "detail": "can't be blank",
      "source": {
        "pointer": "data/attributes/date"
      }
    },
    {
      "status": "422",
      "code": "invalid_attribute",
      "title": "Invalid Attribute",
      "detail": "is not a date",
      "source": {
        "pointer": "data/attributes/date"
      }
    }
  ]
}

Create a time entry
POST/api/v2/time_entries

URI Parameters
HideShow
date
date (required) Example: 2018-01-01

date


PATCH /api/v2/time_entries/1
Requestsupdates time_entryreturns error

PATCH  /api/v2/time_entries/24

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "time_entries",
    "attributes": {
      "note": "new note"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "24",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:06:00.164+02:00",
      "time": 480,
      "billable_time": 480,
      "note": "new note",
      "track_method_id": 1,
      "tracking_type_id": 1,
      "started_at": null,
      "timer_started_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2020-08-11T01:06:00.234+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 16000,
      "cost_default": 20000,
      "cost_normalized": 16000,
      "work_cost": 16000,
      "work_cost_default": 20000,
      "work_cost_normalized": 16000,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": -16000,
      "profit_default": -20000,
      "profit_normalized": -16000
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 667
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1701"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "55"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "124"
        }
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "1701"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "1701",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1654@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:06:00.000+02:00",
        "last_seen_at": "2020-08-11T01:06:00.220+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:59.381+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2310"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "55",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "120"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "166"
          }
        }
      }
    },
    {
      "id": "124",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2020-08-11T01:05:59.839+02:00",
        "repeat_schedule_id": null,
        "repeat_on_interval": null,
        "repeat_on_monthday": null,
        "repeat_on_weekday": [],
        "repeat_on_date": null,
        "repeat_origin_id": null,
        "email_key": "0f4f408800c9c4441742a5be267f4746",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "creation_method_id": 1,
        "closed": false,
        "due_time": null,
        "tag_list": [],
        "position": 1,
        "last_activity_at": null,
        "initial_estimate": null,
        "remaining_time": null,
        "worked_time": 480,
        "deleted_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "404"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1703"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "118"
          }
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "2310",
      "type": "companies",
      "attributes": {
        "name": "Organization667",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:05:59.380+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "120",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        }
      }
    },
    {
      "id": "166",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "3e485a3501ee199e02a67b83f2f6b0bc",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:06:00.125+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1701"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2319"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1701"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "404"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "404",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 20000,
        "cost_default": 20000,
        "cost_normalized": 20000,
        "profit": 105000,
        "profit_default": 105000,
        "profit_normalized": 105000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2312"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1702"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "1703",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1656@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:59.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:59.542+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2313"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "118",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone105",
        "position": 1,
        "archived_at": null,
        "email_key": "b82cab72a0759277ebe5007c1d2b3b24"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "405"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "130"
          }
        }
      }
    },
    {
      "id": "2319",
      "type": "companies",
      "attributes": {
        "name": "Client1653",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:00.119+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2312",
      "type": "companies",
      "attributes": {
        "name": "Client1646",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.420+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1702",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1655@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:59.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:59.403+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2311"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2313",
      "type": "companies",
      "attributes": {
        "name": "Client1647",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.539+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "405",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 2,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2315"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1704"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "130",
      "type": "boards",
      "attributes": {
        "name": "Board116",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "406"
          }
        }
      }
    },
    {
      "id": "2311",
      "type": "companies",
      "attributes": {
        "name": "Client1645",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.399+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2315",
      "type": "companies",
      "attributes": {
        "name": "Client1649",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.586+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1704",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1657@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:59.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:59.568+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2314"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "406",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 3,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 1,
        "budget_count": 0,
        "worked_time": 0,
        "estimated_time": 0,
        "profit_margin": 0,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0,
        "pending_invoicing": 0,
        "pending_invoicing_default": 0,
        "pending_invoicing_normalized": 0,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2317"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1705"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2314",
      "type": "companies",
      "attributes": {
        "name": "Client1648",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.564+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2317",
      "type": "companies",
      "attributes": {
        "name": "Client1651",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.711+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1705",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1658@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:05:59.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:05:59.693+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2316"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2316",
      "type": "companies",
      "attributes": {
        "name": "Client1650",
        "default_currency": null,
        "created_at": "2020-08-11T01:05:59.689+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 667
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

PATCH  /api/v2/time_entries/26

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "time_entries",
    "attributes": {
      "date": ""
    }
  }
}
Responses422
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": "422",
      "code": "invalid_attribute",
      "title": "Invalid Attribute",
      "detail": "can't be blank",
      "source": {
        "pointer": "data/attributes/date"
      }
    },
    {
      "status": "422",
      "code": "invalid_attribute",
      "title": "Invalid Attribute",
      "detail": "is not a date",
      "source": {
        "pointer": "data/attributes/date"
      }
    }
  ]
}

Update a time entry
PATCH/api/v2/time_entries/{id}

URI Parameters
HideShow
id
number (required) Example: 1

time_entry id


PATCH /api/v2/time_entries/1/approve
Requestsapproves entry

PATCH  /api/v2/time_entries/32/approve

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "32",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:06:06.240+02:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "approved": true,
      "approved_at": "2020-08-11T01:06:06.000+02:00",
      "updated_at": "2020-08-11T01:06:06.304+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 0,
      "cost_default": 0,
      "cost_normalized": 0,
      "work_cost": 0,
      "work_cost_default": 0,
      "work_cost_normalized": 0,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": 0,
      "profit_default": 0,
      "profit_normalized": 0
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 675
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1757"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "63"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": {
          "type": "people",
          "id": "1751"
        }
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "1751"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "1757",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1710@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:06.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:06.217+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2402"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "63",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 0,
        "billable_time": 480,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 100,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 100000,
        "profit_default": 125000,
        "profit_normalized": 100000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "128"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "174"
          }
        }
      }
    },
    {
      "id": "1751",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1704@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:06:06.000+02:00",
        "last_seen_at": "2020-08-11T01:06:06.293+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:05.437+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2392"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2402",
      "type": "companies",
      "attributes": {
        "name": "Client1728",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:06.214+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "128",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        }
      }
    },
    {
      "id": "174",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 100,
        "discount": null,
        "email_key": "ede1e3de3a532ff8eda16153674b5496",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 480,
        "forecasted_margin": 100,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 480,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 0,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 0,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:06:06.174+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "work_cost": 0,
        "work_cost_default": 0,
        "work_cost_normalized": 0,
        "profit": 100000,
        "profit_default": 125000,
        "profit_normalized": 100000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 0,
        "forecasted_cost_default": 0,
        "forecasted_cost_normalized": 0,
        "forecasted_profit": 100000,
        "forecasted_profit_default": 125000,
        "forecasted_profit_normalized": 100000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1751"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2401"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1751"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "428"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "2392",
      "type": "companies",
      "attributes": {
        "name": "Organization675",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:06:05.436+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2401",
      "type": "companies",
      "attributes": {
        "name": "Client1727",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:06.167+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "428",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 100,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 125000,
        "profit_default": 125000,
        "profit_normalized": 125000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2394"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1752"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2394",
      "type": "companies",
      "attributes": {
        "name": "Client1720",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:05.476+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1752",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1705@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:05.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:05.459+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2393"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2393",
      "type": "companies",
      "attributes": {
        "name": "Client1719",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:05.455+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 675
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

Approves a time entry
PATCH/api/v2/time_entries/{id}/approve

URI Parameters
HideShow
id
number (required) Example: 1

time_entry id


PATCH /api/v2/time_entries/1/unapprove
Requestsunapproves entry

PATCH  /api/v2/time_entries/34/unapprove

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "34",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:06:07.986+02:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2020-08-11T01:06:08.048+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 0,
      "cost_default": 0,
      "cost_normalized": 0,
      "work_cost": 0,
      "work_cost_default": 0,
      "work_cost_normalized": 0,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": 0,
      "profit_default": 0,
      "profit_normalized": 0
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 677
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1772"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "65"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "1766"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "1772",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1725@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:07.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:07.940+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2425"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "65",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 100,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 100000,
        "profit_default": 125000,
        "profit_normalized": 100000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "130"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "176"
          }
        }
      }
    },
    {
      "id": "1766",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1719@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:07.152+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2415"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2425",
      "type": "companies",
      "attributes": {
        "name": "Client1749",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:07.936+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "130",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        }
      }
    },
    {
      "id": "176",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 100,
        "discount": null,
        "email_key": "8fcc407f9c9c53a89ec3da149eb7cf49",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 100,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:06:07.897+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "work_cost": 0,
        "work_cost_default": 0,
        "work_cost_normalized": 0,
        "profit": 100000,
        "profit_default": 125000,
        "profit_normalized": 100000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 0,
        "forecasted_cost_default": 0,
        "forecasted_cost_normalized": 0,
        "forecasted_profit": 100000,
        "forecasted_profit_default": 125000,
        "forecasted_profit_normalized": 100000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1766"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2424"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1766"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "434"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "2415",
      "type": "companies",
      "attributes": {
        "name": "Organization677",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:06:07.151+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2424",
      "type": "companies",
      "attributes": {
        "name": "Client1748",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:07.891+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "434",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 100,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "profit": 125000,
        "profit_default": 125000,
        "profit_normalized": 125000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2417"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1767"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2417",
      "type": "companies",
      "attributes": {
        "name": "Client1741",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:07.192+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1767",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1720@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:07.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:07.174+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2416"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2416",
      "type": "companies",
      "attributes": {
        "name": "Client1740",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:07.170+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 677
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

Unapproves a time entry
PATCH/api/v2/time_entries/{id}/unapprove

URI Parameters
HideShow
id
number (required) Example: 1

time_entry id


PATCH /api/v2/time_entries/bulk_approve
Requestsbulk approves entries

PATCH  /api/v2/time_entries/bulk_approve

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "ids": [
    38,
    39
  ]
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [
    {
      "id": "38",
      "type": "time_entries",
      "attributes": {
        "date": "2016-10-01",
        "created_at": "2020-08-11T01:06:10.399+02:00",
        "time": 480,
        "billable_time": 480,
        "note": "test note",
        "track_method_id": 1,
        "tracking_type_id": null,
        "started_at": null,
        "timer_started_at": null,
        "approved": true,
        "approved_at": "2020-08-11T01:06:10.000+02:00",
        "updated_at": "2020-08-11T01:06:10.504+02:00",
        "invoiced": false,
        "rejected": false,
        "rejected_reason": null,
        "rejected_at": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "work_cost": 0,
        "work_cost_default": 0,
        "work_cost_normalized": 0,
        "overhead_cost": 0,
        "overhead_cost_default": 0,
        "overhead_cost_normalized": 0,
        "internal_overhead_cost": 0,
        "internal_overhead_cost_default": 0,
        "internal_overhead_cost_normalized": 0,
        "facility_overhead_cost": 0,
        "facility_overhead_cost_default": 0,
        "facility_overhead_cost_normalized": 0,
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "1795"
          }
        },
        "service": {
          "data": {
            "type": "services",
            "id": "68"
          }
        },
        "task": {
          "data": null
        },
        "approver": {
          "data": {
            "type": "people",
            "id": "1789"
          }
        },
        "updater": {
          "data": {
            "type": "people",
            "id": "1789"
          }
        },
        "rejecter": {
          "data": null
        }
      }
    },
    {
      "id": "39",
      "type": "time_entries",
      "attributes": {
        "date": "2016-10-01",
        "created_at": "2020-08-11T01:06:10.462+02:00",
        "time": 480,
        "billable_time": 480,
        "note": "test note",
        "track_method_id": 1,
        "tracking_type_id": null,
        "started_at": null,
        "timer_started_at": null,
        "approved": true,
        "approved_at": "2020-08-11T01:06:10.000+02:00",
        "updated_at": "2020-08-11T01:06:10.504+02:00",
        "invoiced": false,
        "rejected": false,
        "rejected_reason": null,
        "rejected_at": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "cost": 0,
        "cost_default": 0,
        "cost_normalized": 0,
        "work_cost": 0,
        "work_cost_default": 0,
        "work_cost_normalized": 0,
        "overhead_cost": 0,
        "overhead_cost_default": 0,
        "overhead_cost_normalized": 0,
        "internal_overhead_cost": 0,
        "internal_overhead_cost_default": 0,
        "internal_overhead_cost_normalized": 0,
        "facility_overhead_cost": 0,
        "facility_overhead_cost_default": 0,
        "facility_overhead_cost_normalized": 0,
        "revenue": 0,
        "revenue_default": 0,
        "revenue_normalized": 0,
        "profit": 0,
        "profit_default": 0,
        "profit_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "1796"
          }
        },
        "service": {
          "data": {
            "type": "services",
            "id": "68"
          }
        },
        "task": {
          "data": null
        },
        "approver": {
          "data": {
            "type": "people",
            "id": "1789"
          }
        },
        "updater": {
          "data": {
            "type": "people",
            "id": "1789"
          }
        },
        "rejecter": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "1795",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1748@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:10.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:10.376+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2460"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "68",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 1440,
        "unapproved_time": 480,
        "billable_time": 960,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "133"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "179"
          }
        }
      }
    },
    {
      "id": "1789",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1742@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:06:10.000+02:00",
        "last_seen_at": "2020-08-11T01:06:10.503+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:09.582+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2450"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "1796",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1749@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:10.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:10.442+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2461"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2460",
      "type": "companies",
      "attributes": {
        "name": "Client1781",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:10.371+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "133",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        }
      }
    },
    {
      "id": "179",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "0d4aeb20cae5ce1b34cc70361b558c85",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 960,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 960,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 1440,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -1440,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:06:10.275+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 4167,
        "actual_rate_default": 5209,
        "actual_rate_normalized": 4167,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1789"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2459"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1789"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "443"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "2450",
      "type": "companies",
      "attributes": {
        "name": "Organization680",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:06:09.581+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2461",
      "type": "companies",
      "attributes": {
        "name": "Client1782",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:10.438+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "2459",
      "type": "companies",
      "attributes": {
        "name": "Client1780",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:10.267+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "443",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 1440,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 20000,
        "cost_default": 20000,
        "cost_normalized": 20000,
        "profit": 105000,
        "profit_default": 105000,
        "profit_normalized": 105000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2452"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1790"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "2452",
      "type": "companies",
      "attributes": {
        "name": "Client1773",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:09.619+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1790",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1743@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:09.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:09.602+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2451"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2451",
      "type": "companies",
      "attributes": {
        "name": "Client1772",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:09.599+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 680
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

Bulk approves time entries
PATCH/api/v2/time_entries/bulk_approve


PATCH /api/v2/time_entries/1/start
Requestsstarts timer

PATCH  /api/v2/time_entries/50/start

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "50",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:06:17.618+02:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": "2020-08-11T01:06:17.000+02:00",
      "approved": false,
      "approved_at": null,
      "updated_at": "2020-08-11T01:06:17.679+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 16000,
      "cost_default": 20000,
      "cost_normalized": 16000,
      "work_cost": 16000,
      "work_cost_default": 20000,
      "work_cost_normalized": 16000,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": -16000,
      "profit_default": -20000,
      "profit_normalized": -16000
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 689
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1856"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "77"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "1856"
        }
      },
      "rejecter": {
        "data": null
      },
      "organization_membership": {
        "data": {
          "type": "organization_memberships",
          "id": "1856"
        }
      }
    }
  },
  "included": [
    {
      "id": "1856",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1809@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:06:17.000+02:00",
        "last_seen_at": "2020-08-11T01:06:17.667+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:16.825+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2553"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "77",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "142"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "188"
          }
        }
      }
    },
    {
      "id": "1856",
      "type": "organization_memberships",
      "attributes": {
        "updated_at": "2020-08-11T01:06:17.714+02:00",
        "position": null,
        "tasks_layout_id": 1,
        "time_reminders": true,
        "email_notifications": true,
        "weekly_emails": true,
        "notification_preference": {},
        "preferences": null,
        "tasks_filter_id": null,
        "deals_filter_id": null,
        "projects_filter_id": null,
        "people_filter_id": null,
        "companies_filter_id": null,
        "company_time_filter_id": null,
        "invoices_filter_id": null,
        "budgets_filter_id": null,
        "expenses_filter_id": null,
        "bookings_filter_id": null,
        "payments_filter_id": null,
        "time_reports_filter_id": null,
        "profitability_reports_filter_id": null,
        "sales_reports_filter_id": null,
        "salary_reports_filter_id": null,
        "event_reports_filter_id": null,
        "time_entry_reports_filter_id": null
      },
      "relationships": {
        "tasks_favorite_filter": {
          "data": null
        },
        "deals_favorite_filter": {
          "data": null
        },
        "projects_favorite_filter": {
          "data": null
        },
        "people_favorite_filter": {
          "data": null
        },
        "companies_favorite_filter": {
          "data": null
        },
        "company_time_favorite_filter": {
          "data": null
        },
        "invoices_favorite_filter": {
          "data": null
        },
        "budgets_favorite_filter": {
          "data": null
        },
        "expenses_favorite_filter": {
          "data": null
        },
        "bookings_favorite_filter": {
          "data": null
        },
        "payments_favorite_filter": {
          "data": null
        },
        "time_reports_favorite_filter": {
          "data": null
        },
        "profitability_reports_favorite_filter": {
          "data": null
        },
        "sales_reports_favorite_filter": {
          "data": null
        },
        "salary_reports_favorite_filter": {
          "data": null
        },
        "event_reports_favorite_filter": {
          "data": null
        },
        "time_entry_reports_favorite_filter": {
          "data": null
        },
        "organization": {
          "data": {
            "type": "organizations",
            "id": "689"
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "1856"
          }
        },
        "user": {
          "data": {
            "type": "users",
            "id": "1850"
          }
        },
        "organization_membership_counts": {
          "data": {
            "type": "organization_membership_counts",
            "id": "1856"
          }
        },
        "timer": {
          "data": {
            "type": "time_entries",
            "id": "50"
          }
        }
      }
    },
    {
      "id": "2553",
      "type": "companies",
      "attributes": {
        "name": "Organization689",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:06:16.823+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "142",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        }
      }
    },
    {
      "id": "188",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "d1bac360959b6ca0470d5c94e09f784b",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:06:17.574+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1856"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2562"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1856"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "470"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "689",
      "type": "organizations",
      "attributes": {
        "name": "Organization689",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "551bad0f799eaf7d48b59b90360a35a8",
        "due_days": 15,
        "email_key": "organization689",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 0.16666666666666666,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2020-08-11T01:06:16.000+02:00",
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          }
        },
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "1856"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2553"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "689"
          }
        },
        "bill_from": {
          "data": null
        },
        "billing_email": {
          "data": null
        }
      }
    },
    {
      "id": "1850",
      "type": "users",
      "attributes": {
        "email": "user1809@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 689,
        "default_organization_slug": "689-organization689",
        "intercom_hash": "c45377e447bbbfbbd94d5ce4fc250f1e6a0c14c34cd4b9cbbeb86b09b8480a57",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false
      }
    },
    {
      "id": "1856",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 1,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "2562",
      "type": "companies",
      "attributes": {
        "name": "Client1874",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:17.567+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "470",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "revenue": 125000,
        "revenue_default": 125000,
        "revenue_normalized": 125000,
        "cost": 20000,
        "cost_default": 20000,
        "cost_normalized": 20000,
        "profit": 105000,
        "profit_default": 105000,
        "profit_normalized": 105000,
        "pending_invoicing": 125000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 125000,
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2555"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "1857"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "689",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2020-08-25 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "monthly_plan_price": 24,
        "yearly_plan_price": 240,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "plan_type": "premium",
        "downgrades": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              }
            }
          }
        ],
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15,
              "used": 0
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10,
              "used": 0
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5,
              "used": 0
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            }
          }
        },
        "upgrades": [],
        "payment_method_id": 1,
        "employee_count": 6,
        "seats": null,
        "seats_used": 6,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        }
      }
    },
    {
      "id": "2555",
      "type": "companies",
      "attributes": {
        "name": "Client1867",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:16.892+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1857",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1810@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2020-08-11T01:06:16.000+02:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:16.871+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2554"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2554",
      "type": "companies",
      "attributes": {
        "name": "Client1866",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:16.867+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 689
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      }
    }
  }
}

Starts the timer
PATCH/api/v2/time_entries/{id}/start

URI Parameters
HideShow
id
number (required) Example: 1

time_entry id


PATCH /api/v2/time_entries/1/stop
Requestsstops the timer

PATCH  /api/v2/time_entries/52/stop

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "52",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2020-08-11T01:06:19.333+02:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 2,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2020-08-11T01:06:19.391+02:00",
      "invoiced": false,
      "rejected": false,
      "rejected_reason": null,
      "rejected_at": null,
      "currency": "EUR",
      "currency_default": "USD",
      "currency_normalized": "EUR",
      "cost": 16000,
      "cost_default": 20000,
      "cost_normalized": 16000,
      "work_cost": 16000,
      "work_cost_default": 20000,
      "work_cost_normalized": 16000,
      "overhead_cost": 0,
      "overhead_cost_default": 0,
      "overhead_cost_normalized": 0,
      "internal_overhead_cost": 0,
      "internal_overhead_cost_default": 0,
      "internal_overhead_cost_normalized": 0,
      "facility_overhead_cost": 0,
      "facility_overhead_cost_default": 0,
      "facility_overhead_cost_normalized": 0,
      "revenue": 0,
      "revenue_default": 0,
      "revenue_normalized": 0,
      "profit": -16000,
      "profit_default": -20000,
      "profit_normalized": -16000
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 691
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "1868"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "79"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": null
      },
      "updater": {
        "meta": {
          "included": false
        }
      },
      "rejecter": {
        "data": null
      },
      "organization_membership": {
        "data": {
          "type": "organization_memberships",
          "id": "1868"
        }
      }
    }
  },
  "included": [
    {
      "id": "1868",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user1821@email.com",
        "title": null,
        "joined_at": "2020-08-11T01:06:19.000+02:00",
        "last_seen_at": "2020-08-11T01:06:19.381+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2020-08-11T01:06:18.551+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 691
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2573"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "79",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "pricing_type_id": 1,
        "worked_time": 480,
        "unapproved_time": 480,
        "billable_time": 0,
        "estimated_time": null,
        "booked_time": 0,
        "budgeted_time": 0,
        "profit_margin": 84,
        "unit_id": 2,
        "quantity": "1.0",
        "discount": null,
        "future_booked_time": 0,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "hourly_rate": null,
        "hourly_rate_default": null,
        "hourly_rate_normalized": null,
        "price": 100000,
        "price_default": 125000,
        "price_normalized": 100000,
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "discount_amount": 0,
        "discount_amount_default": 0,
        "discount_amount_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 691
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "144"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "190"
          }
        }
      }
    },
    {
      "id": "1868",
      "type": "organization_memberships",
      "attributes": {
        "updated_at": "2020-08-11T01:06:19.430+02:00",
        "position": null,
        "tasks_layout_id": 1,
        "time_reminders": true,
        "email_notifications": true,
        "weekly_emails": true,
        "notification_preference": {},
        "preferences": null,
        "tasks_filter_id": null,
        "deals_filter_id": null,
        "projects_filter_id": null,
        "people_filter_id": null,
        "companies_filter_id": null,
        "company_time_filter_id": null,
        "invoices_filter_id": null,
        "budgets_filter_id": null,
        "expenses_filter_id": null,
        "bookings_filter_id": null,
        "payments_filter_id": null,
        "time_reports_filter_id": null,
        "profitability_reports_filter_id": null,
        "sales_reports_filter_id": null,
        "salary_reports_filter_id": null,
        "event_reports_filter_id": null,
        "time_entry_reports_filter_id": null
      },
      "relationships": {
        "tasks_favorite_filter": {
          "data": null
        },
        "deals_favorite_filter": {
          "data": null
        },
        "projects_favorite_filter": {
          "data": null
        },
        "people_favorite_filter": {
          "data": null
        },
        "companies_favorite_filter": {
          "data": null
        },
        "company_time_favorite_filter": {
          "data": null
        },
        "invoices_favorite_filter": {
          "data": null
        },
        "budgets_favorite_filter": {
          "data": null
        },
        "expenses_favorite_filter": {
          "data": null
        },
        "bookings_favorite_filter": {
          "data": null
        },
        "payments_favorite_filter": {
          "data": null
        },
        "time_reports_favorite_filter": {
          "data": null
        },
        "profitability_reports_favorite_filter": {
          "data": null
        },
        "sales_reports_favorite_filter": {
          "data": null
        },
        "salary_reports_favorite_filter": {
          "data": null
        },
        "event_reports_favorite_filter": {
          "data": null
        },
        "time_entry_reports_favorite_filter": {
          "data": null
        },
        "organization": {
          "data": {
            "type": "organizations",
            "id": "691"
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "1868"
          }
        },
        "user": {
          "data": {
            "type": "users",
            "id": "1862"
          }
        },
        "organization_membership_counts": {
          "data": {
            "type": "organization_membership_counts",
            "id": "1868"
          }
        },
        "timer": {
          "data": null
        }
      }
    },
    {
      "id": "2573",
      "type": "companies",
      "attributes": {
        "name": "Organization691",
        "default_currency": "USD",
        "created_at": "2020-08-11T01:06:18.550+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 691
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "144",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "deleted_at": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 691
          }
        }
      }
    },
    {
      "id": "190",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2016-10-01",
        "end_date": null,
        "number": 1,
        "suffix": null,
        "time_approval": true,
        "expense_approval": true,
        "client_access": false,
        "deal_type_id": 2,
        "budget": true,
        "sales_status_id": null,
        "sales_status_updated_at": null,
        "tag_list": [],
        "origin_deal_id": null,
        "profit_margin": 84,
        "discount": null,
        "email_key": "789ea34be12fabd7cf7a03ae1f29d959",
        "purchase_order_number": null,
        "custom_fields": null,
        "forecasted_billable_time": 0,
        "forecasted_margin": 84,
        "forecasted_budget_usage": 200,
        "forecasted_time_usage": 0,
        "budget_usage": 100,
        "future_booked_time": 0,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 480,
        "time_to_close": null,
        "unapproved_entries_count": 1,
        "rejected_entries_count": 0,
        "estimated_remaining_time": -480,
        "unapproved_time": 480,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2020-08-11T01:06:19.292+02:00",
        "note": null,
        "sales_closed_at": null,
        "note_interpolated": null,
        "todo_count": 0,
        "todo_due_date": null,
        "currency": "EUR",
        "currency_default": "USD",
        "currency_normalized": "EUR",
        "revenue": 100000,
        "revenue_default": 125000,
        "revenue_normalized": 100000,
        "services_revenue": 100000,
        "services_revenue_default": 125000,
        "services_revenue_normalized": 100000,
        "cost": 16000,
        "cost_default": 20000,
        "cost_normalized": 16000,
        "work_cost": 16000,
        "work_cost_default": 20000,
        "work_cost_normalized": 16000,
        "profit": 84000,
        "profit_default": 105000,
        "profit_normalized": 84000,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "pending_invoicing": 100000,
        "pending_invoicing_default": 125000,
        "pending_invoicing_normalized": 100000,
        "expense": 0,
        "expense_default": 0,
        "expense_normalized": 0,
        "expense_billable": 0,
        "expense_billable_default": 0,
        "expense_billable_normalized": 0,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "actual_rate": 12500,
        "actual_rate_default": 15625,
        "actual_rate_normalized": 12500,
        "budget_remaining": 0,
        "budget_remaining_default": 0,
        "budget_remaining_normalized": 0,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000,
        "future_revenue": 0,
        "future_revenue_default": 0,
        "future_revenue_normalized": 0,
        "future_budget_used": 100000,
        "future_budget_used_default": 125000,
        "future_budget_used_normalized": 100000,
        "future_cost": 0,
        "future_cost_default": 0,
        "future_cost_normalized": 0,
        "forecasted_revenue": 100000,
        "forecasted_revenue_default": 125000,
        "forecasted_revenue_normalized": 100000,
        "forecasted_cost": 16000,
        "forecasted_cost_default": 20000,
        "forecasted_cost_normalized": 16000,
        "forecasted_profit": 84000,
        "forecasted_profit_default": 105000,
        "forecasted_profit_normalized": 84000,
        "forecasted_budget_used": 200000,
        "forecasted_budget_used_default": 250000,
        "forecasted_budget_used_normalized": 200000,
        "invoiced_rate": 0,
        "invoiced_rate_default": 0,
        "invoiced_rate_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 691
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "1868"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2582"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "1868"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "476"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "691",
      "type": "organizations",
      "attributes": {
        "name": "Organization691",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "c402626050b8efe0b332a0f250096792",
        "due_days": 15,
        "email_key": "organization691",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 0.16666666666666666,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2020-08-11T01:06:18.000+02:00",
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          }
        },
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "1868"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "2573"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "691"
          }
        },
        "bill_from": {
          "data": null
        },
        "billing_email": {
          "data": null
        }
      }
    },
    {
      "id": "1862",
      "type": "users",
      "attributes": {
        "email": "user1821@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 691,
        "default_organization_slug": "691-organization691",
        "intercom_hash": "cc3542d31925f48349ccccd5842fb0f8c05b5d840db79947421573ca121712c7",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false
      }
    },
    {
      "id": "1868",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 1,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "2582",
      "type": "companies",
      "attributes": {
        "name": "Client1892",
        "default_currency": null,
        "created_at": "2020-08-11T01:06:19.285+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": []
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 691
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "476",
      "type": "projects",
      "attributes": {
        "name": "test project",
        "number": 1,
        "project_type_id": 2,
        "project_color_id": null,
        "last_activity_at": null,
        "public_access": true,
        "time_on_tasks": false,
        "tag_colors": {},
        "archived_at": null,
        "board_count": 0,
        "budget_count": 1,
        "worked_time": 480,
        "estimated_time": 0,
        "profit_margin": 84,
        "budget_closing_date": null,
        "invoice_payment_due": null,
        "custom_fields": null,