Create a new measure accounting item for a measure, an accounting ledger, an accounting legal entity and a budgeting item.
If the measure accounting item is already set for the measure and the budgeting item, the assignment will be overwritten without any further warning.
A JSON object containing measure accounting item information
Successful operation
Successful operation
Not Found
Unprocessable Content
{- "measure": 4,
- "accounting_ledger": 51,
- "accounting_legal_entity": 294,
- "budgeting_item": 14
}
{- "success": true,
- "hash": "7f45c939b2bea7bf2c113c59e54a45487aa689db",
- "data": {
- "hash": "9cc6e709856dd99800d09f2b826d2cd6fdb2da86",
- "created_time": "2024-04-10T14:06:37.000000Z",
- "modified_time": "2024-04-10T14:06:37.000000Z",
- "modified_user_time": "2024-04-10T14:06:37.000000Z",
- "model": "MeasureAccountingItem",
- "measure": {
- "id": 4,
- "hash": "264a21089e5720c8dddc67986d5bab827a75b58e",
- "name": "Diversification",
- "description": "",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2024-04-05T10:23:30.000000Z",
- "modified_time": "2024-04-08T09:05:05.000000Z",
- "modified_user_time": "2024-04-05T10:28:38.000000Z",
- "model": "Measure"
}, - "accounting_ledger": {
- "id": 49,
- "hash": "a80649519c4bd33c7b2144d3119dd75db91e1021",
- "name": "PVC expenses",
- "qualifier": "47310",
- "created_time": "2024-04-08T14:03:43.000000Z",
- "modified_time": "2024-04-08T14:03:43.000000Z",
- "modified_user_time": "2024-04-08T14:03:43.000000Z",
- "model": "AccountingLedger"
}, - "accounting_legal_entity": {
- "id": 292,
- "hash": "5a0ded4bf3e88a833e1642610bb8ba9d787cbcd9",
- "name": "Hamburg AG",
- "qualifier": "HHAG",
- "created_time": "2024-04-08T14:06:49.000000Z",
- "modified_time": "2024-04-08T14:06:49.000000Z",
- "modified_user_time": "2024-04-08T14:06:49.000000Z",
- "model": "AccountingLegalEntity"
}, - "budgeting_item": {
- "id": 2,
- "hash": "ec9d9b8f7e42230489f57058cbdc07244444d1fa",
- "position": 2,
- "operand": 2,
- "name": "Material expenditures",
- "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"
}, - "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-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}
}, - "timestamp": 1712592961815
}
Get all measure accounting items of the authenticated hub.
Successful operation
Not Found
Unprocessable Content
{- "success": true,
- "hash": "944b0feee655dd51d4b1c88adebab693a1bf61fe",
- "data": [
- {
- "hash": "22870e9e62642aa6d7348dddbf46cd9e63c4d794",
- "created_time": "2024-04-10T11:07:02.000000Z",
- "modified_time": "2024-04-10T11:07:02.000000Z",
- "modified_user_time": "2024-04-10T11:07:02.000000Z",
- "model": "MeasureAccountingItem",
- "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"
}
}, - {
- "hash": "57eec6245659a595adbd8b0acb4bf496988363fe",
- "created_time": "2024-04-10T11:07:02.000000Z",
- "modified_time": "2024-04-10T11:07:02.000000Z",
- "modified_user_time": "2024-04-10T11:07:02.000000Z",
- "model": "MeasureAccountingItem",
- "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"
}
}, - {
- "hash": "ced9292b1807e060e3fdb82ead48205c977f22db",
- "created_time": "2024-04-10T11:07:02.000000Z",
- "modified_time": "2024-04-10T11:07:02.000000Z",
- "modified_user_time": "2024-04-10T11:07:02.000000Z",
- "model": "MeasureAccountingItem",
- "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"
}
}, - {
- "hash": "9cc6e709856dd99800d09f2b826d2cd6fdb2da86",
- "created_time": "2024-04-10T14:06:37.000000Z",
- "modified_time": "2024-04-10T14:07:34.000000Z",
- "modified_user_time": "2024-04-10T14:07:34.000000Z",
- "model": "MeasureAccountingItem",
- "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": 4,
- "total": 4,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1712758316820
}
Get a measure accounting item.
Successful operation
Not Found
{- "success": true,
- "hash": "a88e188647391b3682485b4cc31b0a87140453b7",
- "data": {
- "hash": "9cc6e709856dd99800d09f2b826d2cd6fdb2da86",
- "created_time": "2024-04-10T14:06:37.000000Z",
- "modified_time": "2024-04-10T14:07:34.000000Z",
- "modified_user_time": "2024-04-10T14:07:34.000000Z",
- "model": "MeasureAccountingItem",
- "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": 1712760127508
}
Delete a measure accounting item.
Successful operation
Not Found
{- "success": true,
- "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
- "data": { },
- "timestamp": 1712760409526
}