Przejdź do głównej zawartości

OperationFilterInput

Dla: Programista

Typ wejściowyOperationFilterInput

Conditions on operations: an operation is listed when it meets every condition given. Omitted conditions do not filter.

Pola

PoleTypOpis
elementIdID

Operations of this element (Operation.elementId).

machineIdID

Operations done on this machine (Operation.machineId).

orderArchivedBoolean

True: only operations of archived orders; false: only operations of orders outside the archive. Omit for both.

orderIdID

Operations of this order, of every product and element in it (Operation.orderId).

orderStatusOrderStatus

Operations of orders in this status (Order.status). Ignored when orderStatusIn lists any status.

orderStatusIn[OrderStatus!]

Operations of orders in any of these statuses. An empty list filters nothing.

productIdID

Operations of the elements of this product (Operation.productId).

productionStatusProductionStatus

Operations whose production stands at this status, decided exactly as Operation.productionStatus is. It reads the state of production, so an API key filters by it with the production scope. Ignored when productionStatusIn lists any status.

Wymaga zakresu production:read.

productionStatusIn[ProductionStatus!]

Operations whose production stands at any of these statuses (see productionStatus). An empty list filters nothing.

Wymaga zakresu production:read.

updatedFromDateTime

Only operations that changed at or after this moment (inclusive), as Operation.updatedAt shows it. For incremental sync: pass the latest updatedAt you have seen, minus a few minutes, and sort by UPDATED_AT ascending. Null or left out: no bound (the first run of a sync reads every one).

Używane w