List budget areas
GET/api/budget-areas
Required permissions:
- budget.view: allows view resources of projects where the user is the PM or the Account.
- budget.view_other: allows view resources of projects where the user is not the PM nor the Account.
Here the dedicated support page.
Request
Query Parameters
- On a date
- Greater than
- Lower than
limit integer
Possible values: <= 100
Default value: 100
The number of items to include in the response.
offset integer
Default value: 0
The offset of the first returned item.
updated_at date-timeExamples:
Filter items by the updated_at field. This is in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Filter items updated on a date.
Example: 2024-01-01T20:00:00%2B02:00
Filter items updated after a date.
Example: gt:2024-01-01T20:00:00%2B02:00
Filter items updated before a date.
Example: lt:2024-01-01T20:00:00%2B02:00
Header Parameters
Wethod-Company stringrequired
The company you want to interact with
Wethod-Version stringrequired
The API version you want to use
Responses
- 200
- 400
Returns the list of budget areas.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id integerrequired
Possible values: >= 1
created_at date-timerequired
updated_at date-timerequired
name stringrequired
is_enabled booleanrequired
type stringrequired
total_external_cost floatrequired
total_cost floatrequired
total_price floatrequired
total_days floatrequired
budget_id integerrequired
Possible values: >= 1
ID of the budget to which this area belongs
[
{
"id": 1,
"created_at": "2024-12-20T14:44:08.042Z",
"updated_at": "2024-12-20T14:44:08.042Z",
"name": "string",
"is_enabled": true,
"type": "string",
"total_external_cost": 3.2,
"total_cost": 50.2,
"total_price": 100.5,
"total_days": 3.14,
"budget_id": 1
}
]
Bad request
Loading...