Create a new budgeting.
A JSON object containing budgeting information.
Successful operation
Unprocessable Content
{- "name": "Airborne",
- "start_time": "2022-07-01",
- "end_time": "2022-07-31",
- "scaling": 1,
- "offset": 6
}
{- "success": true,
- "hash": "4857bbcbf0d4686ef292266a1ce109d491db0108",
- "data": {
- "id": 65,
- "hash": "956bc5a691b6a2cf67c4f963029dd3dcb9776be3",
- "name": "Airborne",
- "start_time": "2022-07-01",
- "end_time": "2022-07-31",
- "scaling": 1,
- "offset": 6,
- "created_time": "2022-07-11T14:36:16.000000Z",
- "modified_time": "2022-07-11T14:36:16.000000Z",
- "modified_user_time": "2022-07-11T14:36:16.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": 1657550176812
}
Get all budgetings of the authenticated hub.
Successful operation
{- "success": true,
- "hash": "0da942a96ab5944a087aaf09266e2d6d91c0740b",
- "data": [
- {
- "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",
- "programs_count": 1,
- "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": 65,
- "hash": "956bc5a691b6a2cf67c4f963029dd3dcb9776be3",
- "name": "Airborne",
- "start_time": "2022-07-01",
- "end_time": "2022-07-31",
- "scaling": 1,
- "offset": 6,
- "created_time": "2022-07-11T14:36:16.000000Z",
- "modified_time": "2022-07-11T14:36:16.000000Z",
- "modified_user_time": "2022-07-11T14:36:16.000000Z",
- "programs_count": 0,
- "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": 2,
- "total": 2,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1654265060983
}
{- "success": true,
- "hash": "3a8b62071fd61473c36bcdc6277b61afc280503f",
- "data": {
- "id": 65,
- "hash": "956bc5a691b6a2cf67c4f963029dd3dcb9776be3",
- "name": "Airborne",
- "start_time": "2022-07-01",
- "end_time": "2022-07-31",
- "scaling": 1,
- "offset": 6,
- "created_time": "2022-07-11T14:36:16.000000Z",
- "modified_time": "2022-07-11T14:36:16.000000Z",
- "modified_user_time": "2022-07-11T14:36:16.000000Z",
- "programs_count": 0,
- "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": 1657619522090
}
Update a budgeting.
A JSON object containing budgeting information
Successful operation
Not Found
Unprocessable Content
{- "name": "Budgeting for Airborne",
- "start_time": "2022-05-01",
- "end_time": "2022-06-30",
- "scaling": 2,
- "offset": 4
}
{- "success": true,
- "hash": "adbf7ac33270713f4ca40bc173b7bbdc55eccf46",
- "data": {
- "id": 65,
- "hash": "956bc5a691b6a2cf67c4f963029dd3dcb9776be3",
- "name": "Budgeting for Airborne",
- "start_time": "2022-05-01",
- "end_time": "2022-06-30",
- "scaling": 2,
- "offset": 4,
- "created_time": "2022-07-11T14:36:16.000000Z",
- "modified_time": "2022-07-12T10:09:08.000000Z",
- "modified_user_time": "2022-07-12T10:09:08.000000Z",
- "model": "Budgeting",
- "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": 1657620548291
}
Delete a budgeting.
Only budgetings without assigned programs can be deleted. You will get a 403 Forbidden
response if you try to delete a budgeting with assigned programs.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1657621078499
}
Copy a budgeting within the authenticated hub.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1657621624390
}
Restore a budgeting and all elements that have been deleted with the budgeting.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1657621519564
}
Export a budgeting for an export type.
A JSON object containing hub export information.
Successful operation
Not Found
Unprocessable Content
{- "file_type": 3
}
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1653656536595
}