GET /work-order
Search Work Orders
GET
/work-order
Search and filter work orders with optional date range and status filters.
By default returns closed orders only. Includes computed performance metrics
(processing time, processing cost, total cost) and open issue count per work
order. Results sorted by end date descending, capped by limit.
Emits: (read-only — no event)
Required scope: production:work-order: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
Parameters
Query Parameters
search
open
Type
boolean
Default
falseclosed
Type
boolean
Default
truelimit
Type
integer
Default
100time_start_from
time_start_to
time_end_from
time_end_to
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}