Use case: Track a part

Prev Next

For: Customers · Partners · Integrators

A part is missing during assembly, or a customer reports a damaged part. You need to know where the part is and what happened to it.

Challenge

Without a digital trail, finding a part means asking around in production: Was it cut? Was it edgebanded? Who reported it, and when? The same questions come up weeks later for customer complaints, when nobody remembers the details.

Solution

Each part in productionManager has an id assigned by productionManager. Optionally, a part also has a barcode, for example one from the CAD/CAM or ERP system. If set, the barcode takes precedence over the id as the part's identifier. Your application, such as a scanner app or service portal, reads the part's feedback using its id: which workstation processed it, when, by whom, and with what action.

Workflow

  1. If you only have the part's barcode, first search for the part to get its id. If you already have the id, skip this step.
  2. Read the part's feedback using its id.
  3. Display the feedback as a timeline.

Find a part by its barcode

Pass the barcode as identifier. You can also pass the id and include multiple identifier values in one request. In the response, identifier contains the barcode if the part has one; otherwise, it contains the id. id always contains the ID. The response also contains the status, dimensions, material, and any attached images and drawings for the part.

var items = await productionManager.GetOrderItems(["31032021091141470"]);
var part = items?.FirstOrDefault();
var partId = part?.Id;
GET /api/productionManager/orderItems?identifier=31032021091141470

200 OK
Content-Type: application/json

[
  {
    "type": "Part",
    "id": "10706239",
    "identifier": "31032021091141470",
    "barcode": "31032021091141470",
    "description": "Horizontal panel",
    "productionStatus": "Completed",
    "dimensions": "603.4 x 583.4 x 19",
    "material": "P2_White_19",
    "quantity": 1,
    "additionalData": [
      {
        "type": "Image",
        "category": "AboveImage",
        "downloadFileName": "panel_s1.png",
        "downloadUri": "https://..."
      }
    ]
  }
]

Read feedback

Pass the part's id. Always specify the time window explicitly, either using daysBack or from and to. If you omit to, feedback from the current day is not included. For customer complaints, set from to the order date so that all feedback is included.

GET /api/productionManager/orderItems/10706239/feedback?from=2026-10-01T00:00:00Z&to=2026-11-19T23:59:59Z

200 OK
Content-Type: application/json

[
  {
    "identifier": "10706239",
    "workstationId": "ea47e2af-ffc6-45a8-85c8-f46de1acbdd2",
    "workstation": "Shipping",
    "workstationType": "FeedbackShipping",
    "from": "J. Smith",
    "timestamp": "2026-11-19T14:42:07+01:00",
    "quantity": 1,
    "action": "FeedbackConfirmedByParent"
  },
  {
    "identifier": "10706239",
    "workstationId": "ea47e2af-ffc6-45a8-85c8-f46de1acbdd2",
    "workstation": "Shipping",
    "workstationType": "FeedbackShipping",
    "from": "J. Smith",
    "timestamp": "2026-11-19T14:42:07+01:00",
    "quantity": 1,
    "action": "Completed"
  }
]

Each feedback entry contains:

Property Meaning
workstation, workstationType Where the part was processed
from Who provided the feedback
timestamp When the feedback was provided
quantity How many pieces were reported
action What happened, for example InProduction, Completed, FeedbackConfirmed, FeedbackConfirmedByParent, Labeled, PlacedInSortingShelf, or PickedFromSortingShelf

Note: The feedback endpoint currently requires the part's id. Passing its barcode returns an empty list. Directly reading feedback using the barcode is planned. Until then, search for the part by its barcode first.

Integration architecture

Use this workflow in applications where people need answers about an individual part: a scanner app in assembly, a service portal for complaints, or a quality dashboard. Request format=localized if the result is displayed directly to people. Property names and actions are then translated. The .NET client does not yet have a method for the feedback endpoint. Call it using REST.

Benefits

  • Missing parts can be found more quickly.
  • Complaints can be traced back to the workstation, time, and person.
  • Drawings and images for the part are available on any device.

API reference: See Endpoints → HOMAG Connect productionManager → Managing Orders and Imports (API reference): Get order items (GET /api/productionManager/orderItems) and Get feedback for an order item (GET /api/productionManager/orderItems/{id}/feedback).