Skip to main content
PATCH
Update a work order's estimated completion date

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
estimatedCompletionDate
string<date-time>
obligatorisk

ISO 8601 date-time, 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