API Documentation

API Endpoint

Profitability Reports

Profitability Reports

Supported filter params

  • group (budget, service_type, company, project, manager, year, quarter, month)

  • service_type_id (array)

  • company_id (array)

  • project_id (array)

  • manager_id (array)

  • tags

  • budget_status (1: open, 2: closed)

  • after

  • before

GET /api/v2/profitability_reports
Requestsreturns profitability reportsreturns task_time reports

GET  /api/v2/profitability_reports?filter[company_id]=3664

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": "profitability-report-budget-352-d081e6245a4a8bae1e4f61edb6cd7997",
      "type": "profitability_reports",
      "attributes": {
        "group": "budget",
        "year": null,
        "quarter": null,
        "month": null,
        "margin": 100,
        "profit_margin": "100.0",
        "invoiced_profit_margin": null,
        "time": 0,
        "worked_time": 0,
        "billable_time": 0,
        "billable_worked_ratio": null,
        "worked_scheduled_ratio": null,
        "unapproved_time": 0,
        "estimated_time": null,
        "scheduled_time": 0,
        "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,
        "invoiced": 0,
        "invoiced_default": 0,
        "invoiced_normalized": 0,
        "invoiced_profit": 0,
        "invoiced_profit_default": 0,
        "invoiced_profit_normalized": 0,
        "actual_rate": null,
        "actual_rate_default": null,
        "actual_rate_normalized": null,
        "average_invoiced_rate": null,
        "average_invoiced_rate_default": null,
        "average_invoiced_rate_normalized": null,
        "budget_used": 0,
        "budget_used_default": 0,
        "budget_used_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        },
        "budget": {
          "data": {
            "type": "deals",
            "id": "352"
          }
        },
        "service_type": {
          "data": null
        },
        "company": {
          "data": null
        },
        "project": {
          "data": null
        },
        "manager": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "352",
      "type": "deals",
      "attributes": {
        "name": "test name",
        "date": "2021-10-24",
        "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": "6b56a1509b56fa5d7e99738efb619d97",
        "purchase_order_number": null,
        "custom_fields": null,
        "position": null,
        "budget_revamp": false,
        "probability": 50,
        "budget_warning": null,
        "billable_time": 0,
        "estimated_time": 0,
        "budgeted_time": 0,
        "worked_time": 0,
        "time_to_close": null,
        "unapproved_entries_count": 0,
        "rejected_entries_count": 0,
        "lost_comment": null,
        "closed_at": null,
        "delivered_on": null,
        "last_activity_at": null,
        "deleted_at": null,
        "created_at": "2021-10-24T01:07:23.549+02:00",
        "note": null,
        "sales_closed_at": null,
        "exchange_rate": "1.25",
        "exchange_date": "2021-10-24",
        "sales_closed_on": null,
        "sample_data": false,
        "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,
        "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,
        "budget_total": 100000,
        "budget_total_default": 125000,
        "budget_total_normalized": 100000,
        "budget_used": 100000,
        "budget_used_default": 125000,
        "budget_used_normalized": 100000,
        "projected_revenue": 50000,
        "projected_revenue_default": 62500,
        "projected_revenue_normalized": 50000
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "2595"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "3664"
          }
        },
        "document_type": {
          "data": null
        },
        "responsible": {
          "data": {
            "type": "people",
            "id": "2596"
          }
        },
        "deal_status": {
          "data": null
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "673"
          }
        },
        "lost_reason": {
          "data": null
        },
        "contract": {
          "data": null
        },
        "contact": {
          "data": null
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "2595",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user2539@email.com",
        "title": null,
        "joined_at": "2021-10-24T01:07:23.000+02:00",
        "last_seen_at": "2021-10-24T01:07:23.619+02:00",
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "setting_role_id": null,
        "invited_at": null,
        "is_user": true,
        "user_id": 2579,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:07:23.430+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "3663"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "3664",
      "type": "companies",
      "attributes": {
        "name": "Client2800",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:07:23.452+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        }
      }
    },
    {
      "id": "2596",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user2540@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "setting_role_id": null,
        "invited_at": "2021-10-24T01:07:23.000+02:00",
        "is_user": true,
        "user_id": 2580,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:07:23.464+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "3665"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "673",
      "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-10-24T01:07:23.529+02:00",
        "budget_closing_date": null,
        "custom_fields": null,
        "task_custom_fields_ids": null,
        "sample_data": false,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "3667"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "2597"
          }
        },
        "last_actor": {
          "data": null
        },
        "workflow": {
          "data": null
        }
      }
    },
    {
      "id": "3663",
      "type": "companies",
      "attributes": {
        "name": "Organization865",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-10-24T01:07:23.428+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        }
      }
    },
    {
      "id": "3665",
      "type": "companies",
      "attributes": {
        "name": "Client2801",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:07:23.460+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        }
      }
    },
    {
      "id": "3667",
      "type": "companies",
      "attributes": {
        "name": "Client2803",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:07:23.526+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        }
      }
    },
    {
      "id": "2597",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user2541@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "setting_role_id": null,
        "invited_at": "2021-10-24T01:07:23.000+02:00",
        "is_user": true,
        "user_id": 2581,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:07:23.498+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "3666"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "3666",
      "type": "companies",
      "attributes": {
        "name": "Client2802",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:07:23.494+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "865"
          }
        }
      }
    }
  ],
  "links": {
    "first": "http://www.example.com/api/v2/profitability_reports?filter%5Bcompany_id%5D=3664&page%5Bnumber%5D=1&page%5Bsize%5D=30",
    "last": "http://www.example.com/api/v2/profitability_reports?filter%5Bcompany_id%5D=3664&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
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "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
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

GET  /api/v2/task_time_reports?filter[project_id]=1507

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": "task-time-report-task-348-657911979a11d59ba34ba03463167a85",
      "type": "task_time_reports",
      "attributes": {
        "group": "task",
        "estimated_time": null,
        "remaining_time": null,
        "actual_time": null,
        "count": 1
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "task": {
          "data": {
            "type": "tasks",
            "id": "348"
          }
        },
        "assignee": {
          "data": null
        },
        "task_list": {
          "data": null
        },
        "board": {
          "data": null
        },
        "project": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "348",
      "type": "tasks",
      "attributes": {
        "title": "Ticket title",
        "description": null,
        "number": 1,
        "private": false,
        "due_date": null,
        "start_date": null,
        "closed_at": null,
        "created_at": "2021-10-24T01:11:59.776+02:00",
        "updated_at": "2021-10-24T01:11:59.776+02:00",
        "repeat_schedule_id": null,
        "repeat_on_interval": null,
        "repeat_on_monthday": null,
        "repeat_on_weekday": [],
        "repeat_on_date": null,
        "repeat_origin_id": null,
        "email_key": "588c3f5bcdf03919002e20642d8ff1bb",
        "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,
        "todo_assignee_ids": [],
        "global_position": 0,
        "closed": false,
        "due_time": null,
        "tag_list": [],
        "position": 1,
        "last_activity_at": null,
        "initial_estimate": null,
        "remaining_time": null,
        "worked_time": null,
        "deleted_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1507"
          }
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "5941"
          }
        },
        "assignee": {
          "data": null
        },
        "last_actor": {
          "data": null
        },
        "task_list": {
          "data": {
            "type": "task_lists",
            "id": "386"
          }
        },
        "parent_task": {
          "data": null
        },
        "workflow_status": {
          "data": {
            "type": "workflow_statuses",
            "id": "378"
          }
        },
        "attachments": {
          "data": []
        }
      }
    },
    {
      "id": "1507",
      "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-10-24T01:11:59.560+02:00",
        "budget_closing_date": null,
        "custom_fields": null,
        "task_custom_fields_ids": null,
        "sample_data": false,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8893"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "5940"
          }
        },
        "last_actor": {
          "data": null
        },
        "workflow": {
          "data": null
        }
      }
    },
    {
      "id": "5941",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user5877@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "setting_role_id": null,
        "invited_at": "2021-10-24T01:11:59.000+02:00",
        "is_user": true,
        "user_id": 5924,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:11:59.585+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8894"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "386",
      "type": "task_lists",
      "attributes": {
        "name": "Milestone340",
        "position": 1,
        "archived_at": null,
        "email_key": "1a6e52407dac8e85c9d739b7cc38eb01"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1508"
          }
        },
        "board": {
          "data": {
            "type": "boards",
            "id": "412"
          }
        }
      }
    },
    {
      "id": "378",
      "type": "workflow_statuses",
      "attributes": {
        "name": "Open",
        "color_id": 1,
        "position": 1,
        "category_id": 2
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "workflow": {
          "data": {
            "type": "workflows",
            "id": "326"
          }
        }
      }
    },
    {
      "id": "8893",
      "type": "companies",
      "attributes": {
        "name": "Client7298",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.557+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    },
    {
      "id": "5940",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user5876@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "setting_role_id": null,
        "invited_at": "2021-10-24T01:11:59.000+02:00",
        "is_user": true,
        "user_id": 5923,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:11:59.529+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8892"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "8894",
      "type": "companies",
      "attributes": {
        "name": "Client7299",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.581+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    },
    {
      "id": "1508",
      "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-10-24T01:11:59.651+02:00",
        "budget_closing_date": null,
        "custom_fields": null,
        "task_custom_fields_ids": null,
        "sample_data": false,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8896"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "5942"
          }
        },
        "last_actor": {
          "data": null
        },
        "workflow": {
          "data": null
        }
      }
    },
    {
      "id": "412",
      "type": "boards",
      "attributes": {
        "name": "Board368",
        "position": 1,
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "project": {
          "data": {
            "type": "projects",
            "id": "1509"
          }
        }
      }
    },
    {
      "id": "326",
      "type": "workflows",
      "attributes": {
        "name": "Simple workflow",
        "archived_at": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "workflow_statuses": {
          "data": [
            {
              "type": "workflow_statuses",
              "id": "378"
            }
          ]
        }
      }
    },
    {
      "id": "8892",
      "type": "companies",
      "attributes": {
        "name": "Client7297",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.525+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    },
    {
      "id": "8896",
      "type": "companies",
      "attributes": {
        "name": "Client7301",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.648+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    },
    {
      "id": "5942",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user5878@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "setting_role_id": null,
        "invited_at": "2021-10-24T01:11:59.000+02:00",
        "is_user": true,
        "user_id": 5925,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:11:59.621+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8895"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "1509",
      "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-10-24T01:11:59.707+02:00",
        "budget_closing_date": null,
        "custom_fields": null,
        "task_custom_fields_ids": null,
        "sample_data": false,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "needs_invoicing": 0,
        "needs_invoicing_default": 0,
        "needs_invoicing_normalized": 0
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8898"
          }
        },
        "project_manager": {
          "data": {
            "type": "people",
            "id": "5943"
          }
        },
        "last_actor": {
          "data": null
        },
        "workflow": {
          "data": null
        }
      }
    },
    {
      "id": "8895",
      "type": "companies",
      "attributes": {
        "name": "Client7300",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.617+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    },
    {
      "id": "8898",
      "type": "companies",
      "attributes": {
        "name": "Client7303",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.704+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    },
    {
      "id": "5943",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user5879@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 3,
        "setting_role_id": null,
        "invited_at": "2021-10-24T01:11:59.000+02:00",
        "is_user": true,
        "user_id": 5926,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-10-24T01:11:59.676+02:00",
        "placeholder": false,
        "color_id": null,
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "8897"
          }
        },
        "subsidiary": {
          "data": null
        },
        "holiday_calendar": {
          "data": null
        }
      }
    },
    {
      "id": "8897",
      "type": "companies",
      "attributes": {
        "name": "Client7302",
        "billing_name": null,
        "vat": null,
        "default_currency": null,
        "created_at": "2021-10-24T01:11:59.672+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": {},
        "sample_data": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1605"
          }
        }
      }
    }
  ],
  "links": {
    "first": "http://www.example.com/api/v2/task_time_reports?filter%5Bproject_id%5D=1507&page%5Bnumber%5D=1&page%5Bsize%5D=30",
    "last": "http://www.example.com/api/v2/task_time_reports?filter%5Bproject_id%5D=1507&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
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "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
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Get profitability reports
GET/api/v2/profitability_reports


Generated by aglio on 23 Oct 2021