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

Autorizaciones

X-API-KEY
string
header
requerido
OW-KEY
string
header
requerido

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

Parámetros de ruta

id
integer<int64>
requerido

Work order id

Cuerpo

application/json
supplierAttachments
object[]
requerido

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

Respuesta

Successful response

type
string
requerido

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
requerido

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

"ok" on success

Opciones disponibles:
ok