The following macros are not currently supported in the header:
  • style

GET /budgets/:id

Deprecated 14th Jan 2015

The budget endpoints have been deprecated. Please use Object Budgets

Resource URL 

Returns a specific budget object.

GET /budgets/:id

Parameters

Table of allowed parameters.

_fieldspartial stringAllows you to specify optional fields and linked objects to include in the response.

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples. Underlined values are default.

idunsigned intThe budget's unique identifier.
timeunsigned intThe total time within the budget.
chargeddoubleThe total charged.
againststringThe resource the budget is linked against. For example, companies/12.
creditintNOT SURE
fixed_chargeddoubleNOT SURE
service_timeintNOT SURE
full_service_chargeddoubleThe total service charged.

Sample Response

GET /budgets/1.json?_fields=against
{
   "response" : {
         "against" : "component/9265",
         "charged" : "450.00",
         "time" : "10800",
         "id" : "1"
   }
   "meta" : {
      "more_info" : "/public_api/docs/status/ok",
      "status" : "ok",
      "message" : "Everything executed as expected."
   }
}