Skip to main content
PUT
Replace a work order's labels

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

woId
integer
obligatorisk

Work order id.

Kropp

application/json

Full replacement set of label ids. Send an empty array to clear all labels.

ids
integer[]
obligatorisk

Ids of labels from the corresponding label catalog. Duplicates are de-duplicated.

Svar

Success. Returns the label mappings now active on the work order.

type
string
obligatorisk

Entity type marker, "WorkOrderLabelMapping".

data
object[]
obligatorisk
count
integer
obligatorisk

Number of mappings returned (the labels now active on the work order).

status
enum<string>
obligatorisk
Tillgängliga alternativ:
ok