- 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/:idParameters
Table of allowed parameters.
_fields | partial string | Allows 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.
id | unsigned int | The budget's unique identifier. |
|---|---|---|
time | unsigned int | The total time within the budget. |
charged | double | The total charged. |
against | string | The resource the budget is linked against. For example, companies/12. |
credit | int | NOT SURE |
fixed_charged | double | NOT SURE |
service_time | int | NOT SURE |
full_service_charged | double | The 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."
}
}