CompleteWorkOrderRequest
| Field | Type | Description |
|---|---|---|
id | string | Identifies the work order to complete. Must be visible to the API key actor. |
Required scope: work_order:complete
Transition a work order to the completed state. The API key creator must have current access to its customer. Completing a work order that is already completed returns its current state without repeating any side effects.
POST /public-api/publicapi.v1.WorkOrder/CompleteWorkOrder Marks a work order completed. Blocked when the work order has incomplete tasks or advanced tasks. Terminal and not idempotent; completing an already-completed work order returns it unchanged without re-emitting.
| Field | Type | Description |
|---|---|---|
id | string | Identifies the work order to complete. Must be visible to the API key actor. |
| Field | Type | Description |
|---|---|---|
work_order | WorkOrder | The work order after completion. |
{ "id": "<work-order-id>"}{ "workOrder": { "id": "<work-order-id>", "title": "Install replacement inverter", "status": "completed" }}This is not idempotent; do not blindly retry a timed-out call.