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

Spare parts machine entity for GraphQL federation.

Represents a machine or equipment that contains spare parts and can have hierarchical sub-machines. Used for organizing spare parts catalogs with support for nested machine structures and cross-system integration.