List orders assigned to a production room
Returns the orders relevant to a room together with the per-task done-ness (computed from orderActivity).
Returns the orders relevant to a room together with the per-task done-ness (computed from orderActivity).
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Query Parameters
Optional YYYY-MM-DD filter. When provided, only orders with at least one task scheduled for this date in the given room are returned.
When true, only return orders whose current task in this room resolves to the current member (per-order override if present, otherwise the task's defaultAssigneeMemberId).
falseResponse Body
application/json
curl -X GET "https://example.com/production/rooms/string/orders"{ "orders": [ { "orderPhaseId": "string", "treatmentPhaseId": "string", "phaseName": "string", "phaseSortOrder": 0, "id": "string", "orderNumber": "string", "status": "draft", "patient": { "firstName": "string", "lastName": "string" }, "clinic": { "id": "string", "name": "string" }, "dentist": "string", "items": [ { "id": "string", "productName": "string", "material": "string", "quantity": 0 } ], "currentPhaseTaskId": "string", "tasks": [ { "id": "string", "name": "string", "description": "string", "icon": "string", "color": "string", "style": "primary", "completionTrigger": "acknowledge", "completionTriggerConfig": { "type": "acknowledge" }, "sideEffects": [ { "type": "change_status", "toStatus": "draft" } ], "captureConfig": { "requireNotes": false, "requirePhoto": false, "notesPlaceholder": "string", "notesMaxLength": 1 }, "roomId": "string", "sortOrder": 0, "advancesPhase": true, "done": true, "isCurrent": true, "assignedToMemberId": "string", "scheduledDate": "string", "notes": "string" } ], "phaseTasks": [ { "id": "string", "sortOrder": 0, "task": { "name": "string", "color": "string", "icon": "string" } } ], "progress": { "completed": 0, "total": 0 }, "hasOverdueTask": true, "trayId": "string", "trayCode": "string", "trayColor": "string", "submittedAt": "string", "dueDate": "string", "plannedDate": "string" } ]}List production teammates GET
Retrieves a paginated list of lab members with their production room assignments. Supports filtering by room and search by name or email.
Remove a teammate room assignment DELETE
Removes a production room assignment from a lab member. The roomId must be provided in the request body.