← API reference
Mutation / jobs

upsertWorkCenterDevice

Bind a controller device to a work center (or update its priority/active flag). Requires workCenter:write.

Arguments

The binding to create or update in place, matched by id when given and otherwise by (workCenterId, deviceId).

Returns UpsertWorkCenterDevicePayload!

Explore in a view

Production Floor
View exact SDL
"""
Bind a controller device to a work center (or update its priority/active flag). Requires workCenter:write.
"""
upsertWorkCenterDevice(
  """
  The binding to create or update in place, matched by `id` when given and otherwise by (workCenterId, deviceId).
  """
  input: UpsertWorkCenterDeviceInput!
): UpsertWorkCenterDevicePayload! @topic(names: ["jobs"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.