Create a new budgeting item for a budgeting category.
A JSON object containing budgeting item information.
Successful operation
Unprocessable Content
{- "name": "Inventory",
- "unit": 1,
- "factor": 1,
- "period_type": 2,
- "aggregation_type_horizontal": 2,
- "aggregation_type_vertical": 2,
- "target_type": 3,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "budgeting_category": 5
}
{- "success": true,
- "hash": "6d8197b5d60e946dcf1ea632bb3b6fb3718f440f",
- "data": {
- "id": 255,
- "hash": "3e91cde5fa1e21307701ca8066261bacf60a411f",
- "position": 8,
- "operand": 8,
- "name": "Inventory",
- "unit": 1,
- "factor": 1,
- "decimals": 1,
- "suffix": "",
- "period_type": 2,
- "aggregation_type_horizontal": 2,
- "aggregation_type_vertical": 2,
- "target_type": 3,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-07-13T10:46:05.000000Z",
- "modified_time": "2022-07-13T10:46:05.000000Z",
- "modified_user_time": "2022-07-13T10:46:05.000000Z",
- "format": "€",
- "model": "BudgetingItem",
- "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1657709165396
}
Get all budgeting items of the authenticated hub.
Successful operation
Unprocessable Content
{- "success": true,
- "hash": "971302cbc7ccc8424c2fe64041c71dbfeb1509a1",
- "data": [
- {
- "id": 5,
- "hash": "692e090390928df7fbb99a7918df72d7bb3dbccc",
- "position": 5,
- "operand": 5,
- "name": "Cash",
- "unit": 1,
- "factor": 1,
- "decimals": 1,
- "suffix": "",
- "period_type": 1,
- "aggregation_type_horizontal": 1,
- "aggregation_type_vertical": 1,
- "target_type": 1,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "format": "€",
- "model": "BudgetingItem",
- "budgeting_term": null,
- "budgeting_category": {
- "id": 5,
- "hash": "5e4deda376707cc38986975c795be8d1e3170a4a",
- "position": 2,
- "name": "P&L",
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-07-12T15:08:22.000000Z",
- "modified_user_time": "2022-07-12T15:08:22.000000Z",
- "model": "BudgetingCategory",
- "budgeting": {
- "id": 1,
- "hash": "d42985eeb5bc6fdcc81539896f58f179899335b5",
- "name": "Airborne (Default)",
- "start_time": "2022-04-27",
- "end_time": "2023-03-27",
- "scaling": 2,
- "offset": 0,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "model": "Budgeting"
}
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - {
- "id": 6,
- "hash": "1489c6ebd506e12512e02e15afa96806e813f459",
- "position": 6,
- "operand": 6,
- "name": "Investments",
- "unit": 1,
- "factor": 1,
- "decimals": 1,
- "suffix": "",
- "period_type": 1,
- "aggregation_type_horizontal": 1,
- "aggregation_type_vertical": 1,
- "target_type": 2,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "format": "€",
- "model": "BudgetingItem",
- "budgeting_term": null,
- "budgeting_category": {
- "id": 5,
- "hash": "5e4deda376707cc38986975c795be8d1e3170a4a",
- "position": 2,
- "name": "P&L",
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-07-12T15:08:22.000000Z",
- "modified_user_time": "2022-07-12T15:08:22.000000Z",
- "model": "BudgetingCategory",
- "budgeting": {
- "id": 1,
- "hash": "d42985eeb5bc6fdcc81539896f58f179899335b5",
- "name": "Airborne (Default)",
- "start_time": "2022-04-27",
- "end_time": "2023-03-27",
- "scaling": 2,
- "offset": 0,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "model": "Budgeting"
}
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - {
- "id": 7,
- "hash": "33e79bb30fa9db3abcf9b76b9f27b92377aec411",
- "position": 7,
- "operand": 7,
- "name": "Scrap rate",
- "unit": 2,
- "factor": 0,
- "decimals": 2,
- "suffix": "%",
- "period_type": 6,
- "aggregation_type_horizontal": 2,
- "aggregation_type_vertical": 2,
- "target_type": 1,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "format": "%",
- "model": "BudgetingItem",
- "budgeting_term": null,
- "budgeting_category": {
- "id": 6,
- "hash": "2f5f420bd197dec2516a774f038c6dc3c9429366",
- "position": 3,
- "name": "KPI",
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "model": "BudgetingCategory",
- "budgeting": {
- "id": 1,
- "hash": "d42985eeb5bc6fdcc81539896f58f179899335b5",
- "name": "Airborne (Default)",
- "start_time": "2022-04-27",
- "end_time": "2023-03-27",
- "scaling": 2,
- "offset": 0,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "model": "Budgeting"
}
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}
], - "meta": {
- "page": 1,
- "first": 1,
- "last": 3,
- "total": 3,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1657709807411
}
Get a budgeting item.
Successful operation
Not Found
{- "success": true,
- "hash": "0df7d6bdc596a5e4d0dc7ed69b593a0774bbe8f8",
- "data": {
- "id": 6,
- "hash": "1489c6ebd506e12512e02e15afa96806e813f459",
- "position": 6,
- "operand": 6,
- "name": "Investments",
- "unit": 1,
- "factor": 1,
- "decimals": 1,
- "suffix": "",
- "period_type": 1,
- "aggregation_type_horizontal": 1,
- "aggregation_type_vertical": 1,
- "target_type": 2,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "format": "€",
- "model": "BudgetingItem",
- "budgeting_term": null,
- "budgeting_category": {
- "id": 5,
- "hash": "5e4deda376707cc38986975c795be8d1e3170a4a",
- "position": 2,
- "name": "P&L",
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-07-12T15:08:22.000000Z",
- "modified_user_time": "2022-07-12T15:08:22.000000Z",
- "model": "BudgetingCategory",
- "budgeting": {
- "id": 1,
- "hash": "d42985eeb5bc6fdcc81539896f58f179899335b5",
- "name": "Airborne (Default)",
- "start_time": "2022-04-27",
- "end_time": "2023-03-27",
- "scaling": 2,
- "offset": 0,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "model": "Budgeting"
}
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1657710969284
}
Update a budgeting item.
A JSON object containing budgeting item information
Successful operation
Not Found
Unprocessable Content
{- "calculation": "(#1/#4)*100",
- "unit": 2,
- "decimals": 2,
- "suffix": "%",
- "target_type": 1,
- "budgeting_category": 6
}
{- "success": true,
- "hash": "8c6eb45ff7b555231e8b4b600662e502969e74bd",
- "data": {
- "id": 255,
- "hash": "3e91cde5fa1e21307701ca8066261bacf60a411f",
- "position": 8,
- "operand": 8,
- "name": "Inventory",
- "unit": 2,
- "factor": 1,
- "decimals": 2,
- "suffix": "%",
- "period_type": 2,
- "aggregation_type_horizontal": 2,
- "aggregation_type_vertical": 2,
- "target_type": 1,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-07-13T10:46:05.000000Z",
- "modified_time": "2022-07-13T12:47:37.000000Z",
- "modified_user_time": "2022-07-13T12:47:37.000000Z",
- "format": "%",
- "model": "BudgetingItem",
- "budgeting_term": {
- "id": 15,
- "hash": "eaa7c2a3c5eeb03e13cb9e2f8fccc76bbec9c676",
- "term": "(#1/#4)*100",
- "created_time": "2022-07-20T14:28:20.000000Z",
- "modified_time": "2022-07-20T14:28:20.000000Z",
- "modified_user_time": "2022-07-20T14:28:20.000000Z",
- "model": "BudgetingTerm",
- "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "budgeting_category": {
- "id": 6,
- "hash": "2f5f420bd197dec2516a774f038c6dc3c9429366",
- "position": 3,
- "name": "KPI",
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-06-27T09:48:06.000000Z",
- "modified_user_time": "2022-06-27T09:48:06.000000Z",
- "model": "BudgetingCategory"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1657716457546
}
Delete a budgeting item.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1657717012079
}
Position a budgeting item in relation to another budgeting item.
A JSON object containing budgeting item information.
Successful operation
Not Found
Unprocessable Content
{- "position": "after",
- "budgeting_item": 6
}
{- "success": true,
- "hash": "2f6b655c8c5a594a981c7e68aeca084a4b89b55a",
- "data": {
- "id": 255,
- "hash": "3e91cde5fa1e21307701ca8066261bacf60a411f",
- "position": 7,
- "operand": 8,
- "name": "Inventory",
- "unit": 2,
- "factor": 1,
- "decimals": 2,
- "suffix": "%",
- "period_type": 2,
- "aggregation_type_horizontal": 2,
- "aggregation_type_vertical": 2,
- "target_type": 1,
- "threshold_yellow": 90,
- "threshold_red": 70,
- "created_time": "2022-07-13T10:46:05.000000Z",
- "modified_time": "2022-07-13T13:04:09.000000Z",
- "modified_user_time": "2022-07-13T13:04:09.000000Z",
- "format": "%",
- "model": "BudgetingItem",
- "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1657717449636
}
Restore a budgeting item.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1657717207030
}