Skip to main content
PATCH
Append supplier attachments to a work order

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.

Paramètres de chemin

id
integer<int64>
requis

Work order id

Corps

application/json
supplierAttachments
object[]
requis

File references (as returned by the file upload endpoint), required

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