API Documentation
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
Requests
GETÂ Â /api/v2/profitability_reports?filter[company_id]=1780
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
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": [
{
"id": "profitability-report-budget-132-f39d5f66c70432fdafd62fcfb04124d7",
"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": 558
}
},
"budget": {
"data": {
"type": "deals",
"id": "132"
}
},
"service_type": {
"data": null
},
"company": {
"data": null
},
"project": {
"data": null
},
"manager": {
"data": null
}
}
}
],
"included": [
{
"id": "132",
"type": "deals",
"attributes": {
"name": "test name",
"date": "2021-01-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": "27094d9899606884c8646841832c22de",
"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": 0,
"time_to_close": null,
"unapproved_entries_count": 0,
"rejected_entries_count": 0,
"estimated_remaining_time": 0,
"unapproved_time": 0,
"lost_comment": null,
"closed_at": null,
"delivered_on": null,
"last_activity_at": null,
"deleted_at": null,
"created_at": "2021-01-24T00:04:54.188+01:00",
"note": null,
"sales_closed_at": null,
"exchange_rate": "1.25",
"exchange_date": "2021-01-24",
"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": 0,
"actual_rate_default": 0,
"actual_rate_normalized": 0,
"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": 558
}
},
"creator": {
"data": {
"type": "people",
"id": "1359"
}
},
"company": {
"data": {
"type": "companies",
"id": "1780"
}
},
"document_type": {
"data": null
},
"responsible": {
"data": {
"type": "people",
"id": "1360"
}
},
"deal_status": {
"data": null
},
"project": {
"data": {
"type": "projects",
"id": "250"
}
},
"lost_reason": {
"data": null
},
"contract": {
"data": null
},
"contact": {
"data": null
}
}
},
{
"id": "1359",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user1309@email.com",
"title": null,
"joined_at": "2021-01-24T00:04:54.000+01:00",
"last_seen_at": "2021-01-24T00:04:54.254+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:04:54.083+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 558
}
},
"company": {
"data": {
"type": "companies",
"id": "1779"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "1780",
"type": "companies",
"attributes": {
"name": "Client1223",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:04:54.104+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": 558
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "1360",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user1310@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:04:54.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:04:54.114+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 558
}
},
"company": {
"data": {
"type": "companies",
"id": "1781"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "250",
"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:04:54.170+01:00",
"board_count": 0,
"budget_count": 1,
"worked_time": 0,
"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": 558
}
},
"company": {
"data": {
"type": "companies",
"id": "1783"
}
},
"project_manager": {
"data": {
"type": "people",
"id": "1361"
}
},
"last_actor": {
"data": null
}
}
},
{
"id": "1779",
"type": "companies",
"attributes": {
"name": "Organization558",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-01-24T00:04:54.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": 558
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "1781",
"type": "companies",
"attributes": {
"name": "Client1224",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:04:54.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": 558
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "1783",
"type": "companies",
"attributes": {
"name": "Client1226",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:04:54.168+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": 558
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "1361",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user1311@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:04:54.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:04:54.144+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 558
}
},
"company": {
"data": {
"type": "companies",
"id": "1782"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "1782",
"type": "companies",
"attributes": {
"name": "Client1225",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:04:54.141+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": 558
}
},
"bill_to": {
"data": null
}
}
}
],
"links": {
"first": "http://www.example.com/api/v2/profitability_reports?filter%5Bcompany_id%5D=1780&page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://www.example.com/api/v2/profitability_reports?filter%5Bcompany_id%5D=1780&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/task_time_reports?filter[project_id]=1400
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
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": [
{
"id": "task-time-report-task-192-58b9c6f32bf69dd0cc95828a5709ace7",
"type": "task_time_reports",
"attributes": {
"group": "task",
"estimated_time": null,
"remaining_time": null,
"actual_time": null,
"count": 1
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1215"
}
},
"task": {
"data": {
"type": "tasks",
"id": "192"
}
},
"assignee": {
"data": null
},
"task_list": {
"data": null
},
"board": {
"data": null
},
"project": {
"data": null
}
}
}
],
"included": [
{
"id": "192",
"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:34.293+01:00",
"updated_at": "2021-01-24T00:08:34.293+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": "fa54d3703a66b8fb5cfa7f1411076e80",
"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": null,
"deleted_at": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"project": {
"data": {
"type": "projects",
"id": "1400"
}
},
"creator": {
"data": {
"type": "people",
"id": "4290"
}
},
"assignee": {
"data": null
},
"last_actor": {
"data": null
},
"task_list": {
"data": {
"type": "task_lists",
"id": "233"
}
},
"parent_task": {
"data": null
},
"attachments": {
"data": []
}
}
},
{
"id": "1400",
"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:34.105+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": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6382"
}
},
"project_manager": {
"data": {
"type": "people",
"id": "4289"
}
},
"last_actor": {
"data": null
}
}
},
{
"id": "4290",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user4232@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:34.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:08:34.128+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6383"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "233",
"type": "task_lists",
"attributes": {
"name": "Milestone208",
"position": 1,
"archived_at": null,
"email_key": "34eed953f9664bf5c98237f445616525"
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"project": {
"data": {
"type": "projects",
"id": "1401"
}
},
"board": {
"data": {
"type": "boards",
"id": "246"
}
}
}
},
{
"id": "6382",
"type": "companies",
"attributes": {
"name": "Client5177",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.103+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": 1215
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "4289",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user4231@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:34.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:08:34.078+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6381"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "6383",
"type": "companies",
"attributes": {
"name": "Client5178",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.125+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": 1215
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "1401",
"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:34.186+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": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6385"
}
},
"project_manager": {
"data": {
"type": "people",
"id": "4291"
}
},
"last_actor": {
"data": null
}
}
},
{
"id": "246",
"type": "boards",
"attributes": {
"name": "Board222",
"position": 1,
"archived_at": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"project": {
"data": {
"type": "projects",
"id": "1402"
}
}
}
},
{
"id": "6381",
"type": "companies",
"attributes": {
"name": "Client5176",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.074+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": 1215
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "6385",
"type": "companies",
"attributes": {
"name": "Client5180",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.184+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": 1215
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "4291",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user4233@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:34.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:08:34.159+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6384"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "1402",
"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:34.240+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": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6387"
}
},
"project_manager": {
"data": {
"type": "people",
"id": "4292"
}
},
"last_actor": {
"data": null
}
}
},
{
"id": "6384",
"type": "companies",
"attributes": {
"name": "Client5179",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.156+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": 1215
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "6387",
"type": "companies",
"attributes": {
"name": "Client5182",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.238+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": 1215
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "4292",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user4234@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:34.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:08:34.209+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1215
}
},
"company": {
"data": {
"type": "companies",
"id": "6386"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "6386",
"type": "companies",
"attributes": {
"name": "Client5181",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:08:34.205+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": 1215
}
},
"bill_to": {
"data": null
}
}
}
],
"links": {
"first": "http://www.example.com/api/v2/task_time_reports?filter%5Bproject_id%5D=1400&page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://www.example.com/api/v2/task_time_reports?filter%5Bproject_id%5D=1400&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 profitability reportsGET/api/v2/profitability_reports
Generated by aglio on 23 Jan 2021