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

Auktoriseringar

X-API-KEY
string
header
obligatorisk
OW-KEY
string
header
obligatorisk

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

Sökvägsparametrar

id
integer<int64>
obligatorisk

Work order id

Kropp

application/json
supplierAttachments
object[]
obligatorisk

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

Svar

Successful response

type
string
obligatorisk

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
obligatorisk

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>
obligatorisk

"ok" on success

Tillgängliga alternativ:
ok