Create
Use ComponentInstances.create()
to instantiate a new serial number or lot code.
my_component_instance = serial.ComponentInstances.create(
identifier="ABC-123",
component_name="Component Name"
)
The serial number or lot code of the component instance
The name of the component that you want to create an instance of
Get
Use ComponentInstances.get()
to get an existing instance of a serial number or lot code.
my_component_instance = serial.ComponentInstances.get(
identifier="ABC-123",
)
The serial number or lot code of the component instance
List
Use ComponentInstances.list()
to list all component instances matching the query parameters
defective_components = serial.ComponentInstances.list(
{
"status": "DEFECTIVE"
}
)
Component’s Type (either SN or LOT)
Component’s Status (WIP, PLANNED, DEFECTIVE, COMPLETE)
Components associated to particular work order
Components associated with a specific part number