Personalcontrolling
Budget anlegen
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Request-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
POST /rest/controlling/budgets and PUT /rest/controlling/budgets/{budget}: scope company or
department (with department_id), effective_from (YYYY-MM) and the monthly amount in whole,
non-negative cents. Only one budget per scope and effective_from; the database unique backs this
check against concurrent requests.
Response-Body
application/json
application/json
application/json
curl -X POST "https://example.com/controlling/budgets" \ -H "Content-Type: application/json" \ -d '{ "scope": "company", "effective_from": "string", "amount_cents": 0 }'{ "data": { "id": "string", "scope": "string", "department_id": "string", "department_name": "string", "effective_from": "string", "amount_cents": 0, "currency": "string" }}