GET /department
Get Department List
GET
/department
Return the list of all departments.
Fetches every document from the Department collection and returns them
wrapped in an APIResponse. No filtering is applied; results include
all departments regardless of active status.
Emits: (direct transaction — no event class)
Required scope: org:department:read
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}