Skip to main content

machine

Retrieve detailed information about a specific spare parts machine.

Returns comprehensive machine data including spare parts catalog, hierarchical structure, and localized content. Supports multiple lookup methods including ID, slug/language combination, and external source references.

Possible errors:

  • SPARE_PARTS_MACHINE_NOT_FOUND_ERROR: Machine with the specified criteria does not exist
  • SPARE_PARTS_GET_MACHINE_ERROR: Failed to retrieve machine information
  • SPARE_PARTS_GET_MACHINE_BY_ID_ERROR: Failed to retrieve machine by ID
  • SPARE_PARTS_GET_MACHINE_BY_SLUG_ERROR: Failed to retrieve machine by slug and language
  • SPARE_PARTS_GET_MACHINE_BY_SOURCE_AND_SOURCE_ID_ERROR: Failed to retrieve machine by external reference
  • SPARE_PARTS_EXTERNAL_REFERENCE_SEARCH_ERROR: Failed to search external references
  • VALIDATION_ERROR: Invalid combination of search parameters
machine(
id: String
slug: String
language: String
source: String
sourceId: String
): SparePartsMachine

Arguments

machine.id ● String scalar

Unique identifier of the machine to retrieve.

Must be a valid string representing an existing machine in the system. Takes priority over other parameters when provided.

machine.slug ● String scalar

URL-friendly machine identifier for localized access.

Human-readable URL segment used for machine pages and SEO-friendly navigation. Must be used in combination with language parameter.

machine.language ● String scalar

Language code for localized machine content.

Two-character language code for retrieving machine information in the specified language. Must be used in combination with slug parameter.

machine.source ● String scalar

External system source identifier.

Identifies the external system that provided this machine data. Must be used in combination with sourceId parameter for external reference lookup.

machine.sourceId ● String scalar

External system entity identifier.

Unique identifier from the external system for this machine. Must be used in combination with source parameter for external reference lookup.

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.