Skip to content

Project Template Expense Budgets

Project Template Expense Budgets are expense budgets configured in a project template that are added to a project when the template is applied.

Fetching a list of Project Template Expense Budgets

Request

This endpoint returns structured Project Template Expense Budget objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the project_template_expense_budgets top-level JSON key. Please see our Response Format section for more information.

Query
created_afterstring, (date-time)

Filter for records created after a specified datetime. The datetime must be in ISO 8601 format.

created_beforestring, (date-time)

Filter for records created before a specified datetime. The datetime must be in ISO 8601 format.

includestring

Any of the below associations can be included in your request by providing the include param, e.g. include=association1,association2.

  • project_template (ProjectTemplate) - Retrieves the template the expense budget is on. The response will include project_template_id, which references the data in the project_templates top-level key.
onlystring

Allows you to request one or more resources directly by ID. Multiple IDs can be supplied in a comma separated list, like GET /api/v1/workspaces.json?only=5,6,7.

orderstring

Supply order with the name of a valid sort field for the endpoint and a direction.

Valid values: created_at:asc, created_at:desc, title:asc, and title:desc.

Default:"created_at:desc"
pageinteger, (int32)
Default:1
per_pageinteger, (int32), <= 200
Default:20
project_template_idinteger, (int32)

Filter by project template ID.

updated_afterstring, (date-time)

Filter for records updated after a specified datetime. The datetime must be in ISO 8601 format.

updated_beforestring, (date-time)

Filter for records updated before a specified datetime. The datetime must be in ISO 8601 format.

GET
/project_template_expense_budgets
curl -i -X GET \
  'https://api.mavenlink.com/api/v1/project_template_expense_budgets?created_after=2019-08-24T14%3A15%3A22Z&created_before=2019-08-24T14%3A15%3A22Z&include=string&only=string&order=created_at%3Adesc&page=1&per_page=20&project_template_id=0&updated_after=2019-08-24T14%3A15%3A22Z&updated_before=2019-08-24T14%3A15%3A22Z'

Responses

A list of Project Template Expense Budgets have been retrieved.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
project_template_expense_budgetsobject
project_templatesobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "project_template_expense_budgets": { "property1": { "billable": true, "burns_budget": true, "cost_per_unit_in_subunits": 0, "created_at": "2019-08-24T14:15:22Z", "description": "string", "fixed_fee": true, "markup_per_unit_in_subunits": 0, "markup_percentage": 0, "markup_type": "string", "project_template_id": 0, "quantity": 0, "relative_expected_by_date": 0, "title": "string", "updated_at": "2019-08-24T14:15:22Z" }, "property2": { "billable": true, "burns_budget": true, "cost_per_unit_in_subunits": 0, "created_at": "2019-08-24T14:15:22Z", "description": "string", "fixed_fee": true, "markup_per_unit_in_subunits": 0, "markup_percentage": 0, "markup_type": "string", "project_template_id": 0, "quantity": 0, "relative_expected_by_date": 0, "title": "string", "updated_at": "2019-08-24T14:15:22Z" } }, "project_templates": { "property1": { "budget": 0, "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "duration": 0, "is_budgeted": true, "item_count": 0, "permissions": { "can_edit_project_template": true }, "project_template_additional_tab_ids": [ "string" ], "project_template_assignment_ids": [ "string" ], "raw_json": "string", "shared": true, "sharing": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string" }, "property2": { "budget": 0, "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "duration": 0, "is_budgeted": true, "item_count": 0, "permissions": { "can_edit_project_template": true }, "project_template_additional_tab_ids": [ "string" ], "project_template_assignment_ids": [ "string" ], "raw_json": "string", "shared": true, "sharing": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string" } } }