Skip to main content

machineCreate

Create a new spare parts machine.

Registers a new machine in the system with all associated spare parts, hierarchical relationships, and external references. Supports complex nested machine structures and multilingual content.

Possible errors:

  • SPARE_PARTS_EXTERNAL_REFERENCE_KEY_ALREADY_EXISTS_ERROR: External reference already exists in the system
  • SPARE_PARTS_EXTERNAL_REFERENCE_KEY_DUPLICATES_FOUND_ERROR: Duplicate external references found in the payload
  • SPARE_PARTS_EXTERNAL_REFERENCE_CREATE_ERROR: Failed to create external reference
  • SPARE_PARTS_UNKNOWN_ERROR: Unexpected error during machine creation

AUTH: Role=[product.OWNER]

machineCreate(
input: CreateSparePartsMachineInput!
): SparePartsMachine!

Arguments

machineCreate.input ● CreateSparePartsMachineInput! non-null input

Machine creation data.

Complete specification for the new machine including external references, localized content, spare parts, and hierarchical relationships.

Type

SparePartsMachine object

Represents a machine that contains spare parts and can have hierarchical sub-machines.

Core entity for organizing spare parts catalogs with support for nested machine structures, localized content, and external system integration.