Skip to main content
POST
Work order status update: decline

Autorisations

X-API-KEY
string
header
requis
OW-KEY
string
header
requis

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Corps

application/json

Verified payload: the work order id plus a single optional note object appended to the work order's notes with the status change.

id
integer<int64>
requis

Work order id (required; must exist)

note
object

Work-order note (abridged - additional media/caption/transcription fields exist).

Réponse

Successful response

type
string
requis

Entity type label, e.g. "WorkOrder". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. "models.workorder.WorkOrder"); treat this field as informational.

data
object
requis

Work order (abridged - the full model has 150+ fields including hydrated location/asset/facility/approval-hierarchy objects). For third-party suppliers (keys not belonging to an internal service team) responses are masked: buyer-private fields are removed/blanked by the API masking layer.

status
enum<string>
requis

"ok" on success

Options disponibles:
ok