Create claim from pane number
Convenience endpoint that accepts a paneNumber (e.g. PNE-0001) and automatically resolves the pane’s order and material. No need to provide order ID in the URL or material ID in the body.
Requires claims:create permission.
Side effect: The claimed pane is pulled from the station system — its currentStation is set to null and currentStatus to claimed, and the order’s stationBreakdown is decremented accordingly. The order’s paneCount is also decremented and progressPercent is recalculated so that progress tracking remains accurate after the pane is removed. Real-time events are emitted so the frontend removes the pane from station views. Already-completed panes are not affected.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Pane number (e.g. PNE-0001). The endpoint auto-resolves the order and material from the pane.
1"PNE-0001"
customer, worker 11broken, chipped, dimension_wrong, scratch, stain, other Station ObjectId where defect was found
pending, approved, rejected destroy, keep 11