Prototype category for a creation form
POST/api/v2/categories/new
Returns a non-persisted category pre-populated with backend defaults for the authenticated user. Optional hints include companyId, parentId, articleTypeId, vatTypeId, expenseAccountId, incomeAccountId and copyFromId. The response has no id, version or audit fields; call POST /api/v2/categories afterwards to persist it.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Category prototype with defaults
Invalid prepare-create hints
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_CATEGORIAS permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.