Reports
Get budget reports
Changed onRetrieve a paginated list of aggregated budget report rows. Supports filtering, grouping, and sorting by budget dimensions and metrics.
get/api/v2/reports/budget_reports
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/reports/budget_reports
- Authnone declared
Query parameters
Filters
{
"0": {
"id": {
"eq": "123"
}
},
"$op": "and"
}sortstring[]
Sort budget report
group'budget' | 'closed_at' | 'company' | 'contract' | 'created_at' | 'custom_fields' | 'date' | 'deal_type' | 'delivered_on' | 'designated_approver' | 'end_date' | 'last_activity_at' | 'month' | 'next_occurrence_on' | 'organization' | 'origin_deal' | 'primary_contact' | 'project' | 'project_type' | 'purchase_order_number' | 'quarter' | 'recurring' | 'recurring_ends_on' | 'recurring_interval' | 'recurring_starts_on' | 'responsible' | 'revenue_distribution_type' | 'status' | 'subsidiary' | 'tracking_type_id' | 'week' | 'year'
Group budget report
Response
Collection budget report
Example response
{
"data": [
{
"id": "r-003",
"type": "budget_reports",
"attributes": {
"budget_total": "100000.00",
"budget_used": "62000.00",
"revenue": "75000.00",
"cost": "45000.00",
"profit": "30000.00",
"profit_margin": 0.4,
"billable_time": 48000,
"nonbillable_time": 6000,
"expense_amount": "3500.00",
"project_id": 6899,
"deal_id": 89,
"currency": "USD"
}
}
],
"included": [],
"meta": {
"current_page": 1,
"total_pages": 5,
"total_count": 42,
"page_size": 30,
"max_page_size": 200
}
}Changes
- info
added the enum value
-applied_scenario_marginto the propertyitems/of thequeryrequest parametersort - info
added the enum value
applied_scenario_marginto the propertyitems/of thequeryrequest parametersort
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info