Create a new accounting legal entity.
A JSON object containing accounting legal entity information.
Successful operation
Unprocessable Content
{- "legal_entity": "Hamburg AG",
- "qualifier": "HHAG"
}
{- "success": true,
- "hash": "85c667334ac7798323174d0c8736471f0fc88b8c",
- "data": {
- "id": 292,
- "hash": "5a0ded4bf3e88a833e1642610bb8ba9d787cbcd9",
- "name": "Hamburg AG",
- "qualifier": "HHAG",
- "created_time": "2024-04-08T14:03:57.000000Z",
- "modified_time": "2024-04-08T14:03:57.000000Z",
- "modified_user_time": "2024-04-08T14:03:57.000000Z",
- "model": "AccountingLegalEntity",
- "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": 1712320774365
}
Get all accounting legal entities of the authenticated hub.
Successful operation
{- "success": true,
- "hash": "ec6ceed75b7261ea5d82064c09649e5df9a38be4",
- "data": [
- {
- "id": 292,
- "hash": "5a0ded4bf3e88a833e1642610bb8ba9d787cbcd9",
- "name": "Hamburg AG",
- "qualifier": "HHAG",
- "created_time": "2024-04-08T14:03:57.000000Z",
- "modified_time": "2024-04-08T14:03:57.000000Z",
- "modified_user_time": "2024-04-08T14:03:57.000000Z",
- "model": "AccountingLegalEntity",
- "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": 294,
- "hash": "96465dbe95be82adb8fc8a4d3a2820a91f8d371a",
- "name": "Uhlenhorst KG",
- "qualifier": "UHKG",
- "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",
- "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": 295,
- "hash": "1d28d6fa905fa951e0e91e662190fca124a69b29",
- "name": "Stockholm Limited",
- "qualifier": "STHL",
- "created_time": "2024-04-08T14:07:24.000000Z",
- "modified_time": "2024-04-08T14:07:24.000000Z",
- "modified_user_time": "2024-04-08T14:07:24.000000Z",
- "model": "AccountingLegalEntity",
- "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": 1712585807493
}
Get an accounting legal entity.
Successful operation
Not Found
{- "success": true,
- "hash": "ec6ceed75b7261ea5d82064c09649e5df9a38be4",
- "data": {
- "id": 292,
- "hash": "5a0ded4bf3e88a833e1642610bb8ba9d787cbcd9",
- "name": "Hamburg AG",
- "qualifier": "HHAG",
- "created_time": "2024-04-08T14:03:57.000000Z",
- "modified_time": "2024-04-08T14:03:57.000000Z",
- "modified_user_time": "2024-04-08T14:03:57.000000Z",
- "model": "AccountingLegalEntity",
- "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": 1712585940564
}
Update an accounting legal entity.
A JSON object containing accounting legal entity information
Successful operation
Not Found
Unprocessable Content
{- "qualifier": "HHAG1"
}
{- "success": true,
- "hash": "bf6282ff67870a4db727db4224ba098b7d933a1b",
- "data": {
- "id": 292,
- "hash": "5a0ded4bf3e88a833e1642610bb8ba9d787cbcd9",
- "name": "Hamburg AG",
- "qualifier": "HHAG1",
- "created_time": "2024-04-08T14:03:57.000000Z",
- "modified_time": "2024-04-09T13:58:17.000000Z",
- "modified_user_time": "2024-04-09T13:58:17.000000Z",
- "model": "AccountingLedger",
- "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": 1712325497908
}
Delete an accounting legal entity.
Successful operation
Not Found
{- "success": true,
- "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
- "data": { },
- "timestamp": 1712325642210
}
Restore an accounting legal entity.
Successful operation
Not Found
{- "success": true,
- "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
- "data": { },
- "timestamp": 1712327158082
}