Get all budgets
Changed onRequest
- Base URLhttps://api.rocketlane.com/api
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Filter by budget ID. Supported operators: eq, oneOf, noneOf.
Filter by budget ID. Supported operators: eq, oneOf, noneOf.
Filter by budget ID. Supported operators: eq, oneOf, noneOf.
Filter by project ID the budget belongs to. Supported operators: eq, oneOf, noneOf.
Filter by project ID the budget belongs to. Supported operators: eq, oneOf, noneOf.
Filter by project ID the budget belongs to. Supported operators: eq, oneOf, noneOf.
Filter by budget status ID (numeric). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget status ID (numeric). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget status ID (numeric). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by financial contract type (e.g. TIME_AND_MATERIAL, FIXED_FEE, SUBSCRIPTION, NON_BILLABLE). Supported operators: eq, oneOf, noneOf.
Filter by financial contract type (e.g. TIME_AND_MATERIAL, FIXED_FEE, SUBSCRIPTION, NON_BILLABLE). Supported operators: eq, oneOf, noneOf.
Filter by financial contract type (e.g. TIME_AND_MATERIAL, FIXED_FEE, SUBSCRIPTION, NON_BILLABLE). Supported operators: eq, oneOf, noneOf.
Filter by revenue recognition type. Supported operators: eq, oneOf, noneOf.
Filter by revenue recognition type. Supported operators: eq, oneOf, noneOf.
Filter by revenue recognition type. Supported operators: eq, oneOf, noneOf.
Filter by budget amount. Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget amount. Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget amount. Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget amount. Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget amount. Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budgeted hours (decimal hours; fractional part represents minutes). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budgeted hours (decimal hours; fractional part represents minutes). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budgeted hours (decimal hours; fractional part represents minutes). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budgeted hours (decimal hours; fractional part represents minutes). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budgeted hours (decimal hours; fractional part represents minutes). Supported operators: eq, gt, ge, lt, le, oneOf, noneOf.
Filter by budget name. Supported operators: eq, cn, nc, oneOf, noneOf.
Filter by budget name. Supported operators: eq, cn, nc, oneOf, noneOf.
Filter by budget name. Supported operators: eq, cn, nc, oneOf, noneOf.
Filter by date of issue (equals).
Filter by date of issue greater than.
Filter by date of issue greater than or equal.
Filter by date of issue less than.
Filter by date of issue less than or equal.
Filter by due date (equals).
Filter by due date greater than.
Filter by due date greater than or equal.
Filter by due date less than.
Filter by due date less than or equal.
Filter by budget created time (epoch milliseconds). Supported operators: eq, gt, ge, lt, le.
Filter by budget created time (epoch milliseconds). Supported operators: eq, gt, ge, lt, le.
Filter by budget created time (epoch milliseconds). Supported operators: eq, gt, ge, lt, le.
Filter by budget created time (epoch milliseconds). Supported operators: eq, gt, ge, lt, le.
Filter by budget created time (epoch milliseconds). Supported operators: eq, gt, ge, lt, le.
You can use this param to provide a customer company id and the responses will contain exact matches of budgets that match the given customer company id.
You can use this param to provide customer company ids separated by commas and the responses will contain matches of budgets that match any of the given customer company id.
You can use this param to provide customer company id separated by commas and the responses will not contain matches of budgets that match the given set of customer company id.
Filter by default budget flag
This parameter sets the maximum number of responses to be displayed per page. If the page size is insufficient to accommodate the whole number of responses obtained, the pagination object will include a link to the next page as well as the next page token. If left blank, it defaults to 100.
Use this parameter to specify the pageToken of a page to which you want to navigate. This pageToken can be obtained from a previous request which specified a limit and will only be active for 15 minutes after it is created.
This query parameter allows you to specify which fields should be returned in the response body by selecting from the drop down. To get the relevant fields, use comma separated values. If the field is left blank, the default properties are returned.
This query parameter allows you to specify if all the fields should be returned in the response body. If the field is left blank, the default properties are returned.
Sort budgets by a supported field. Allowed values: createdAt, budgetId, projectId, budgetName.
The sortOrder param can be used to specify the sorting order, which can be Ascending (ASC) or Descending (DESC). Descending is the default option.
You can use the match param to specify if we need to filter the entries using either AND(all) / OR(any). Defaults to AND.
Response
The requested action was successfully executed.
Example response
{
"data": [
{
"budgetId": 101,
"projectId": 42,
"projectName": "Acme Implementation",
"budgetName": "FY 2024 Services",
"startDate": "2024-01-01",
"endDate": "2024-12-31",
"status": {
"value": 2,
"label": "In progress"
},
"currency": "USD",
"revenueRecognitionType": "TRACKED_HOURS_BY_PERIOD_HOURS",
"customRevenueRecognitionConfigId": 101,
"budgetHours": 1.65,
"timeAndMaterialContract": {
"rateCard": {
"rateCardId": 21,
"rateCardName": "US Project rate"
}
},
"subscriptionContract": {
"subscriptionFrequency": "MONTHLY",
"subscriptionStartDate": "2023-03-28",
"periodMinutes": 60,
"periodBudget": 10000,
"noOfPeriods": 10
},
"budgetFinancialsMetrics": {
"actualRevenue": 10000,
"estimatedRevenue": 200000,
"actualRevenueInAccountCurrency": 10000,
"estimatedRevenueInAccountCurrency": 200000,
"actualTimeCost": 200,
"estimatedTimeCost": 200,
"actualTimeCostInAccountCurrency": 200,
"estimatedTimeCostInAccountCurrency": 200,
"actualExpenseCost": 200,
"estimatedExpenseCost": 200,
"actualExpenseCostInAccountCurrency": 200,
"estimatedExpenseCostInAccountCurrency": 200,
"actualCost": 200,
"estimatedCost": 200,
"actualCostInAccountCurrency": 200,
"estimatedCostInAccountCurrency": 200,
"trackedMinutes": 200,
"remainingMinutes": 200,
"allocatedMinutes": 200,
"billableAllocatedMinutes": 200,
"nonBillableAllocatedMinutes": 200,
"billableTrackedMinutes": 200,
"nonBillableTrackedMinutes": 200,
"actualProfit": 200,
"estimatedProfit": 200,
"actualProfitInAccountCurrency": 200,
"estimatedProfitInAccountCurrency": 200,
"actualProfitMargin": 200,
"estimatedProfitMargin": 200,
"actualProfitMarginInAccountCurrency": 200,
"estimatedProfitMarginInAccountCurrency": 200,
"percentageBudgetedHoursConsumed": 200,
"percentageBudgetConsumed": 200,
"estimateAtCompletion": 200,
"estimationToCompletionInHours": 200
},
"manualRevenueRecognitionConfigs": [
{
"manualRevenueRecognitionConfigId": 1001,
"recognitionDate": "2026-04-01",
"recognisedRevenue": 1000,
"recognisedPercentage": 10
}
],
"milestoneRevenueRecognitionConfigs": [
{
"milestoneRevenueRecognitionConfigId": 1001,
"sourceType": "TASK",
"sourceId": 2001,
"recognisedRevenue": 1000,
"recognisedPercentage": 10
}
],
"createdAt": 1681319726000,
"updatedAt": 1681319726000,
"createdBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"updatedBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"fields": [
{
"fieldId": 201,
"fieldLabel": "MRR",
"fieldValueLabel": "1000"
}
]
}
],
"pagination": {
"pageSize": 100,
"hasMore": true,
"totalRecordCount": 250,
"nextPage": "https://api.rocketlane.com/api/1.0/budgets?pageToken=e4a3dd8e-e338-11ed-b5ea-0242ac120002&pageSize=100",
"nextPageToken": "e4a3dd8e-e338-11ed-b5ea-0242ac120002"
}
}Changes
- info
endpoint added
- info