Represents a rework request for parts that have to be produced again, including category, reason, quantity, state, and the capture or rejection details. Learn more about rework.
Implements: ISupportsLocalizedSerialization
Example
{
"id": "PART-1001",
"description": "Visible edge damage",
"orderName": "Kitchen Order",
"material": "P2_Gold_Craft_Oak_19.0",
"quantityOfReworks": 2,
"category": "Edgebanding",
"reason": "PartDamaged",
"state": "Pending",
"capturedAt": "2025-03-14T08:42:15+00:00"
}
Properties
| Property | Type | Description | Details |
|---|---|---|---|
CaptureDetails |
CaptureDetails? |
Details recorded when the rework was captured. Optional. | Example: { "comment": "Captured during quality inspection." } |
CapturedAt |
DateTime? |
Date and time the rework was captured. Optional. | Format: {0:g}Example: 2025-03-14T08:42:15+00:00 |
Category |
ReworkCategory |
Category that classifies the rework by the production step it relates to. | Example: Edgebanding |
CustomerName |
string? |
Name of the customer the rework relates to. Optional. | Max length 100 Example: Muster GmbH |
Description |
string? |
Description of the rework. Optional. | Max length 1000 Example: Visible edge damage |
Id |
string? |
Identifier of the part the rework was created for. Optional. | Example: PART-1001 |
Length |
number? |
Length of the part. Optional. | Value 0.1 to 9999.9 Example: 720.0 |
Material |
string? |
Material code of the parts to be reworked. Optional. | Max length 255 Example: P2_Gold_Craft_Oak_19.0 |
OrderName |
string? |
Name of the order the rework belongs to. Optional. | Max length 100 Example: Kitchen Order |
QuantityOfReworks |
integer |
Number of parts that require rework. | Min value 0 Example: 2 |
Reason |
ReworkReason |
Reason why the rework is needed. | Example: PartDamaged |
RejectionDetails |
RejectionDetails? |
Details of the rejection. Only set when the rework was rejected. | Example: { "comment": "Rejected after final review." } |
ReworkId |
string? |
Unique identifier of the rework. Optional. | Example: RW-2025-0001 |
State |
ReworkState |
Current state of the rework in its approval workflow. | Example: Pending |
Width |
number? |
Width of the part. Optional. | Value 0.1 to 9999.9 Example: 480.0 |
AdditionalProperties |
object? |
Additional properties configured in productionManager that are not part of the standard contract. Optional. | Example: { "externalSource": "MES" } |
Usage in the API
Input: The caller sends the type to the API. Output: The API returns the type.
| Method | Endpoint | Usage of the type |
|---|---|---|
| GET | /api/productionManager/reworks |
Output |
| GET | /api/productionManager/statistics/reworks |
Output |
Referenced by
| Contract | Category | Properties |
|---|---|---|
ReworkCreatedEvent |
ProductionManager/Events/Rework | Rework |
Package: HomagGroup.HomagConnect.ProductionManager.Contracts 2.2.5-preview.98
Source: Rework.cs
Samples: ProductionManager samples
