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": "146",
      "type": "time_entries",
      "attributes": {
        "date": "2016-10-01",
        "created_at": "2021-01-24T00:08:47.621+01:00",
        "time": 480,
        "billable_time": 480,
        "note": "test note",
        "track_method_id": 1,
        "tracking_type_id": null,
        "started_at": null,
        "timer_started_at": null,
        "timer_stopped_at": null,
        "approved": false,
        "approved_at": null,
        "updated_at": "2021-01-24T00:08:47.621+01:00",
        "calendar_event_id": null,
        "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
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "4415"
          }
        },
        "service": {
          "data": {
            "type": "services",
            "id": "513"
          }
        },
        "task": {
          "data": {
            "type": "tasks",
            "id": "252"
          }
        },
        "approver": {
          "data": null
        },
        "updater": {
          "data": {
            "type": "people",
            "id": "4415"
          }
        },
        "rejecter": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "4415",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4357@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:08:47.000+01:00",
        "last_seen_at": "2021-01-24T00:08:47.667+01: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": "2021-01-24T00:08:47.056+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6576"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "513",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1245
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "713"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "854"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "252",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2021-01-24T00:08:47.305+01:00",
        "updated_at": "2021-01-24T00:08:47.623+01: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": "475db10f0eaae97a88dc1ebb13c5b873",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "subtask_count": null,
        "open_subtask_count": null,
        "creation_method_id": 1,
        "subtask_position": null,
        "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": 1245
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1469"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4417"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "277"
          }
        },
        "parent_task": {
          "data": null
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "6576",
      "type": "companies",
      "attributes": {
        "name": "Organization1245",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:08:47.055+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "713",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        }
      }
    },
    {
      "id": "854",
      "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": "4546d84a0cabc900874d515df1fb8f3b",
        "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": "2021-01-24T00:08:47.580+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1245
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4415"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6585"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4415"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1469"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "1469",
      "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,
        "created_at": "2021-01-24T00:08:47.112+01:00",
        "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": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6578"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4416"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "4417",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4359@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:47.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:47.138+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6579"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "277",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone252",
        "position": 1,
        "archived_at": null,
        "email_key": "3dc03f3e57edb8aeaabc02cb8e59096e"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1470"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "290"
          }
        }
      }
    },
    {
      "id": "6585",
      "type": "companies",
      "attributes": {
        "name": "Client5350",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.572+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6578",
      "type": "companies",
      "attributes": {
        "name": "Client5343",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.110+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4416",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4358@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:47.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:47.085+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6577"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6579",
      "type": "companies",
      "attributes": {
        "name": "Client5344",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.134+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1470",
      "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,
        "created_at": "2021-01-24T00:08:47.198+01:00",
        "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": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6581"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4418"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "290",
      "type": "boards",
      "attributes": {
        "name": "Board266",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1471"
          }
        }
      }
    },
    {
      "id": "6577",
      "type": "companies",
      "attributes": {
        "name": "Client5342",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.081+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6581",
      "type": "companies",
      "attributes": {
        "name": "Client5346",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.195+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4418",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4360@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:47.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:47.171+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6580"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "1471",
      "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,
        "created_at": "2021-01-24T00:08:47.248+01:00",
        "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": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6583"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4419"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6580",
      "type": "companies",
      "attributes": {
        "name": "Client5345",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.167+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6583",
      "type": "companies",
      "attributes": {
        "name": "Client5348",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.246+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4419",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4361@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:47.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:47.221+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6582"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6582",
      "type": "companies",
      "attributes": {
        "name": "Client5347",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:47.217+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1245
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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/149

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": "149",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2021-01-24T00:08:49.911+01:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "timer_stopped_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2021-01-24T00:08:49.911+01:00",
      "calendar_event_id": null,
      "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
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 1248
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "4433"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "516"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "255"
        }
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "4433"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "4433",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4375@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:08:49.000+01:00",
        "last_seen_at": "2021-01-24T00:08:49.978+01: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": "2021-01-24T00:08:49.242+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6606"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "516",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1248
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "716"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "857"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "255",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2021-01-24T00:08:49.507+01:00",
        "updated_at": "2021-01-24T00:08:49.914+01: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": "be4fbc7db346d8d0ecd88f8eec4eeeff",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "subtask_count": null,
        "open_subtask_count": null,
        "creation_method_id": 1,
        "subtask_position": null,
        "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": 1248
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1478"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4435"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "280"
          }
        },
        "parent_task": {
          "data": null
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "6606",
      "type": "companies",
      "attributes": {
        "name": "Organization1248",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:08:49.240+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "716",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        }
      }
    },
    {
      "id": "857",
      "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": "77ecde476ff5b960a9bdf8f04a024694",
        "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": "2021-01-24T00:08:49.842+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1248
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4433"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6615"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4433"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1478"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "1478",
      "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,
        "created_at": "2021-01-24T00:08:49.304+01:00",
        "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": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6608"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4434"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "4435",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4377@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:49.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:49.333+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6609"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "280",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone255",
        "position": 1,
        "archived_at": null,
        "email_key": "3edd10f9c56fc72558d35790e9f4440e"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1479"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "293"
          }
        }
      }
    },
    {
      "id": "6615",
      "type": "companies",
      "attributes": {
        "name": "Client5377",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.831+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6608",
      "type": "companies",
      "attributes": {
        "name": "Client5370",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.301+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4434",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4376@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:49.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:49.272+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6607"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6609",
      "type": "companies",
      "attributes": {
        "name": "Client5371",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.329+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1479",
      "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,
        "created_at": "2021-01-24T00:08:49.394+01:00",
        "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": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6611"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4436"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "293",
      "type": "boards",
      "attributes": {
        "name": "Board269",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1480"
          }
        }
      }
    },
    {
      "id": "6607",
      "type": "companies",
      "attributes": {
        "name": "Client5369",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.267+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6611",
      "type": "companies",
      "attributes": {
        "name": "Client5373",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.391+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4436",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4378@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:49.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:49.365+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6610"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "1480",
      "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,
        "created_at": "2021-01-24T00:08:49.447+01:00",
        "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": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6613"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4437"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6610",
      "type": "companies",
      "attributes": {
        "name": "Client5372",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.362+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6613",
      "type": "companies",
      "attributes": {
        "name": "Client5375",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.445+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4437",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4379@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:49.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:49.418+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6612"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6612",
      "type": "companies",
      "attributes": {
        "name": "Client5374",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:49.414+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1248
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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": "4439"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "517"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "256"
        }
      }
    }
  }
}
Responses201
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "151",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2021-01-24T00:08:51.275+01:00",
      "time": 0,
      "billable_time": 0,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": 1,
      "started_at": null,
      "timer_started_at": null,
      "timer_stopped_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2021-01-24T00:08:51.275+01:00",
      "calendar_event_id": null,
      "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
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 1249
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "4439"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "517"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "256"
        }
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "4439"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "4439",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4381@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:08:51.000+01:00",
        "last_seen_at": "2021-01-24T00:08:51.251+01: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": "2021-01-24T00:08:50.332+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6616"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "517",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1249
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "717"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "858"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "256",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2021-01-24T00:08:50.892+01:00",
        "updated_at": "2021-01-24T00:08:51.278+01: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": "da6623390cfb5a8f307610ce9e653f70",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "subtask_count": null,
        "open_subtask_count": null,
        "creation_method_id": 1,
        "subtask_position": null,
        "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": 1249
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1481"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4441"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "281"
          }
        },
        "parent_task": {
          "data": null
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "6616",
      "type": "companies",
      "attributes": {
        "name": "Organization1249",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:08:50.331+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "717",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        }
      }
    },
    {
      "id": "858",
      "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": "acaa85f35319f27b474ad14ae72cad5b",
        "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": "2021-01-24T00:08:51.140+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1249
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4439"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6625"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4439"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1481"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "1481",
      "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,
        "created_at": "2021-01-24T00:08:50.437+01:00",
        "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": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6618"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4440"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "4441",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4383@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:50.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:50.554+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6619"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "281",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone256",
        "position": 1,
        "archived_at": null,
        "email_key": "4d514419379782ee810484db89990a29"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1482"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "294"
          }
        }
      }
    },
    {
      "id": "6625",
      "type": "companies",
      "attributes": {
        "name": "Client5386",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:51.133+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6618",
      "type": "companies",
      "attributes": {
        "name": "Client5379",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.435+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4440",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4382@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:50.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:50.411+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6617"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6619",
      "type": "companies",
      "attributes": {
        "name": "Client5380",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.551+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1482",
      "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,
        "created_at": "2021-01-24T00:08:50.611+01:00",
        "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": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6621"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4442"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "294",
      "type": "boards",
      "attributes": {
        "name": "Board270",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1483"
          }
        }
      }
    },
    {
      "id": "6617",
      "type": "companies",
      "attributes": {
        "name": "Client5378",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.366+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6621",
      "type": "companies",
      "attributes": {
        "name": "Client5382",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.609+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4442",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4384@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:50.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:50.585+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6620"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "1483",
      "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,
        "created_at": "2021-01-24T00:08:50.748+01:00",
        "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": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6623"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4443"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6620",
      "type": "companies",
      "attributes": {
        "name": "Client5381",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.582+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6623",
      "type": "companies",
      "attributes": {
        "name": "Client5384",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.745+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4443",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4385@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:08:50.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:08:50.722+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6622"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6622",
      "type": "companies",
      "attributes": {
        "name": "Client5383",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:08:50.718+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1249
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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": "4451"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "519"
        }
      }
    }
  }
}
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/166

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": "166",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2021-01-24T00:09:05.722+01:00",
      "time": 480,
      "billable_time": 480,
      "note": "new note",
      "track_method_id": 1,
      "tracking_type_id": 1,
      "started_at": null,
      "timer_started_at": null,
      "timer_stopped_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2021-01-24T00:09:05.783+01:00",
      "calendar_event_id": null,
      "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
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 1262
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "4529"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "530"
        }
      },
      "task": {
        "data": {
          "type": "tasks",
          "id": "271"
        }
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "4529"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "4529",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4471@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:09:05.000+01:00",
        "last_seen_at": "2021-01-24T00:09:05.767+01: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": "2021-01-24T00:09:04.893+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6764"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "530",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1262
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "730"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "872"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "271",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2021-01-24T00:09:05.440+01:00",
        "updated_at": "2021-01-24T00:09:05.785+01: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": "f4130b8ed5d046872c85251f53735638",
        "custom_fields": null,
        "todo_count": null,
        "open_todo_count": null,
        "todo_assignee_count": null,
        "subtask_count": null,
        "open_subtask_count": null,
        "creation_method_id": 1,
        "subtask_position": null,
        "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": 1262
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1525"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4531"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "296"
          }
        },
        "parent_task": {
          "data": null
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "6764",
      "type": "companies",
      "attributes": {
        "name": "Organization1262",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:09:04.892+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "730",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        }
      }
    },
    {
      "id": "872",
      "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": "8d0c8ea6b2507a53c16a026a52661b26",
        "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": "2021-01-24T00:09:05.686+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1262
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4529"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6773"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4529"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1525"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "1525",
      "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,
        "created_at": "2021-01-24T00:09:04.947+01:00",
        "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": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6766"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4530"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "4531",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4473@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:05.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:05.070+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6767"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "296",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone271",
        "position": 1,
        "archived_at": null,
        "email_key": "91f0fb7449f9a9247b7e2d1bf611f8da"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1526"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "309"
          }
        }
      }
    },
    {
      "id": "6773",
      "type": "companies",
      "attributes": {
        "name": "Client5521",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:05.679+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6766",
      "type": "companies",
      "attributes": {
        "name": "Client5514",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:04.945+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4530",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4472@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:04.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:04.921+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6765"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6767",
      "type": "companies",
      "attributes": {
        "name": "Client5515",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:05.066+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1526",
      "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,
        "created_at": "2021-01-24T00:09:05.130+01:00",
        "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": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6769"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4532"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "309",
      "type": "boards",
      "attributes": {
        "name": "Board285",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1527"
          }
        }
      }
    },
    {
      "id": "6765",
      "type": "companies",
      "attributes": {
        "name": "Client5513",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:04.918+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6769",
      "type": "companies",
      "attributes": {
        "name": "Client5517",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:05.128+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4532",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4474@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:05.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:05.102+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6768"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "1527",
      "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,
        "created_at": "2021-01-24T00:09:05.275+01:00",
        "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": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6771"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4533"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6768",
      "type": "companies",
      "attributes": {
        "name": "Client5516",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:05.098+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6771",
      "type": "companies",
      "attributes": {
        "name": "Client5519",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:05.273+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4533",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4475@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:05.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:05.249+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6770"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6770",
      "type": "companies",
      "attributes": {
        "name": "Client5518",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:05.245+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1262
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/time_entries/168

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/178/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": "178",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2021-01-24T00:09:15.447+01:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "timer_stopped_at": null,
      "approved": true,
      "approved_at": "2021-01-24T00:09:15.000+01:00",
      "updated_at": "2021-01-24T00:09:15.519+01:00",
      "calendar_event_id": null,
      "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
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 1274
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "4609"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "544"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": {
          "type": "people",
          "id": "4603"
        }
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "4603"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "4609",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4551@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:15.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:15.415+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6898"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "544",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1274
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "744"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "886"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "4603",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4545@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:09:15.000+01:00",
        "last_seen_at": "2021-01-24T00:09:15.509+01: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": "2021-01-24T00:09:14.586+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6888"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6898",
      "type": "companies",
      "attributes": {
        "name": "Client5634",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:15.411+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "744",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        }
      }
    },
    {
      "id": "886",
      "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": "901b73bdd93f945eb03f7eed314c0bd3",
        "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": "2021-01-24T00:09:15.372+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1274
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4603"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6897"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4603"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1561"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "6888",
      "type": "companies",
      "attributes": {
        "name": "Organization1274",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:09:14.585+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6897",
      "type": "companies",
      "attributes": {
        "name": "Client5633",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:15.365+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1561",
      "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,
        "created_at": "2021-01-24T00:09:14.642+01:00",
        "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": 1274
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6890"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4604"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6890",
      "type": "companies",
      "attributes": {
        "name": "Client5626",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:14.640+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4604",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4546@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:14.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:14.614+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6889"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6889",
      "type": "companies",
      "attributes": {
        "name": "Client5625",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:14.610+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1274
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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/180/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": "180",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2021-01-24T00:09:17.334+01:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": null,
      "timer_stopped_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2021-01-24T00:09:17.392+01:00",
      "calendar_event_id": null,
      "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
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 1276
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "4624"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "546"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "4618"
        }
      },
      "rejecter": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "4624",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4566@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:17.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:17.269+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6921"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "546",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1276
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "746"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "888"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "4618",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4560@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": "2021-01-24T00:09:16.405+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6911"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6921",
      "type": "companies",
      "attributes": {
        "name": "Client5655",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:17.265+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "746",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        }
      }
    },
    {
      "id": "888",
      "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": "e0c077f4ba70768ce02bf797237f11a7",
        "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": "2021-01-24T00:09:17.223+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1276
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4618"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6920"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4618"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1567"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "6911",
      "type": "companies",
      "attributes": {
        "name": "Organization1276",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:09:16.404+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6920",
      "type": "companies",
      "attributes": {
        "name": "Client5654",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:17.216+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1567",
      "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,
        "created_at": "2021-01-24T00:09:16.464+01:00",
        "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": 1276
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6913"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4619"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6913",
      "type": "companies",
      "attributes": {
        "name": "Client5647",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:16.462+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4619",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4561@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:16.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:16.435+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6912"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6912",
      "type": "companies",
      "attributes": {
        "name": "Client5646",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:16.431+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1276
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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": [
    184,
    185
  ]
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [
    {
      "id": "184",
      "type": "time_entries",
      "attributes": {
        "date": "2016-10-01",
        "created_at": "2021-01-24T00:09:20.203+01:00",
        "time": 480,
        "billable_time": 480,
        "note": "test note",
        "track_method_id": 1,
        "tracking_type_id": null,
        "started_at": null,
        "timer_started_at": null,
        "timer_stopped_at": null,
        "approved": true,
        "approved_at": "2021-01-24T00:09:20.000+01:00",
        "updated_at": "2021-01-24T00:09:20.309+01:00",
        "calendar_event_id": null,
        "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
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "4647"
          }
        },
        "service": {
          "data": {
            "type": "services",
            "id": "549"
          }
        },
        "task": {
          "data": null
        },
        "approver": {
          "data": {
            "type": "people",
            "id": "4641"
          }
        },
        "updater": {
          "data": {
            "type": "people",
            "id": "4641"
          }
        },
        "rejecter": {
          "data": null
        }
      }
    },
    {
      "id": "185",
      "type": "time_entries",
      "attributes": {
        "date": "2016-10-01",
        "created_at": "2021-01-24T00:09:20.267+01:00",
        "time": 480,
        "billable_time": 480,
        "note": "test note",
        "track_method_id": 1,
        "tracking_type_id": null,
        "started_at": null,
        "timer_started_at": null,
        "timer_stopped_at": null,
        "approved": true,
        "approved_at": "2021-01-24T00:09:20.000+01:00",
        "updated_at": "2021-01-24T00:09:20.309+01:00",
        "calendar_event_id": null,
        "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
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "4648"
          }
        },
        "service": {
          "data": {
            "type": "services",
            "id": "549"
          }
        },
        "task": {
          "data": null
        },
        "approver": {
          "data": {
            "type": "people",
            "id": "4641"
          }
        },
        "updater": {
          "data": {
            "type": "people",
            "id": "4641"
          }
        },
        "rejecter": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "4647",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4589@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:20.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:20.177+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6956"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "549",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1279
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "749"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "891"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "4641",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4583@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:09:20.000+01:00",
        "last_seen_at": "2021-01-24T00:09:20.307+01: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": "2021-01-24T00:09:19.291+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6946"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "4648",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4590@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:20.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:20.241+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6957"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6956",
      "type": "companies",
      "attributes": {
        "name": "Client5687",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:20.174+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "749",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        }
      }
    },
    {
      "id": "891",
      "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": "0d7efa8247e0ec281b20d618dfdb04e3",
        "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": "2021-01-24T00:09:20.074+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1279
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4641"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6955"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4641"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1576"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "6946",
      "type": "companies",
      "attributes": {
        "name": "Organization1279",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:09:19.290+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6957",
      "type": "companies",
      "attributes": {
        "name": "Client5688",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:20.237+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "6955",
      "type": "companies",
      "attributes": {
        "name": "Client5686",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:20.067+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1576",
      "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,
        "created_at": "2021-01-24T00:09:19.346+01:00",
        "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": 1279
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6948"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4642"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "6948",
      "type": "companies",
      "attributes": {
        "name": "Client5679",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:19.343+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4642",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4584@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:19.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:19.319+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "6947"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "6947",
      "type": "companies",
      "attributes": {
        "name": "Client5678",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:19.316+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1279
          }
        },
        "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": 100,
        "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
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

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/196/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": "196",
    "type": "time_entries",
    "attributes": {
      "date": "2016-10-01",
      "created_at": "2021-01-24T00:09:27.875+01:00",
      "time": 480,
      "billable_time": 480,
      "note": "test note",
      "track_method_id": 1,
      "tracking_type_id": null,
      "started_at": null,
      "timer_started_at": "2021-01-24T00:09:27.000+01:00",
      "timer_stopped_at": null,
      "approved": false,
      "approved_at": null,
      "updated_at": "2021-01-24T00:09:27.936+01:00",
      "calendar_event_id": null,
      "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
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 1288
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "4708"
        }
      },
      "service": {
        "data": {
          "type": "services",
          "id": "558"
        }
      },
      "task": {
        "data": null
      },
      "approver": {
        "data": null
      },
      "updater": {
        "data": {
          "type": "people",
          "id": "4708"
        }
      },
      "rejecter": {
        "data": null
      },
      "organization_membership": {
        "data": {
          "type": "organization_memberships",
          "id": "4708"
        }
      }
    }
  },
  "included": [
    {
      "id": "4708",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4650@email.com",
        "title": null,
        "joined_at": "2021-01-24T00:09:27.000+01:00",
        "last_seen_at": "2021-01-24T00:09:27.923+01: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": "2021-01-24T00:09:27.077+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "7049"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "558",
      "type": "services",
      "attributes": {
        "name": "test name",
        "position": 1,
        "deleted_at": null,
        "billable": true,
        "description": null,
        "timetracking": true,
        "expensetracking": true,
        "tracking_enabled": true,
        "pricing_type_id": 1,
        "billing_type_id": null,
        "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": 1288
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "758"
          }
        },
        "deal": {
          "data": {
            "type": "deals",
            "id": "900"
          }
        },
        "section": {
          "data": null
        }
      }
    },
    {
      "id": "4708",
      "type": "organization_memberships",
      "attributes": {
        "updated_at": "2021-01-24T00:09:27.975+01: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,
        "booking_approvals_filter_id": null,
        "expense_approvals_filter_id": null,
        "time_approvals_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
        },
        "booking_approvals_favorite_filter": {
          "data": null
        },
        "expense_approvals_favorite_filter": {
          "data": null
        },
        "time_approvals_favorite_filter": {
          "data": null
        },
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1288"
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "4708"
          }
        },
        "user": {
          "data": {
            "type": "users",
            "id": "4697"
          }
        },
        "organization_membership_counts": {
          "data": {
            "type": "organization_membership_counts",
            "id": "4708"
          }
        },
        "timer": {
          "data": {
            "type": "time_entries",
            "id": "196"
          }
        }
      }
    },
    {
      "id": "7049",
      "type": "companies",
      "attributes": {
        "name": "Organization1288",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-01-24T00:09:27.076+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "758",
      "type": "service_types",
      "attributes": {
        "name": "test name",
        "category_id": null,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        }
      }
    },
    {
      "id": "900",
      "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": "1e0a2b934541f0878d0c419ab0d0f1b4",
        "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": "2021-01-24T00:09:27.832+01:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2016-10-01",
        "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": 1288
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "4708"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "7058"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "4708"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1603"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        }
      }
    },
    {
      "id": "1288",
      "type": "organizations",
      "attributes": {
        "name": "Organization1288",
        "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": "bd797f391bb730c1a4e2002c7c4440f6",
        "due_days": 15,
        "email_key": "organization1288",
        "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",
          "seat_based_pricing"
        ],
        "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": "2021-01-24T00:09:27.000+01: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": 100,
            "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
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "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,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "domain_verified": false,
        "allow_user_email": 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": "4708"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "7049"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "1288"
          }
        }
      }
    },
    {
      "id": "4697",
      "type": "users",
      "attributes": {
        "email": "user4650@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 1288,
        "default_organization_slug": "1288-organization1288",
        "intercom_hash": "daff503578898124de4e0ff0f871d28200e13a0559303026a96f15e689f2441c",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false
      }
    },
    {
      "id": "4708",
      "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": "7058",
      "type": "companies",
      "attributes": {
        "name": "Client5780",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:27.824+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "1603",
      "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,
        "created_at": "2021-01-24T00:09:27.129+01:00",
        "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": 1288
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "7051"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "4709"
          }
        },
        "last_actor": {
          "data": null
        }
      }
    },
    {
      "id": "1288",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-02-07 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
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "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": 100,
              "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
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            }
          }
        },
        "upgrades": [],
        "payment_method_id": 1,
        "employee_count": 6,
        "seats": 6,
        "seats_used": 6,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": null,
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        }
      }
    },
    {
      "id": "7051",
      "type": "companies",
      "attributes": {
        "name": "Client5773",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:27.127+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "4709",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user4651@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "invited_at": "2021-01-24T00:09:27.000+01:00",
        "is_user": true,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-01-24T00:09:27.104+01:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "7050"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "7050",
      "type": "companies",
      "attributes": {
        "name": "Client5772",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-01-24T00:09:27.100+01:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 1288
          }
        },
        "bill_to": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project