--- title: "Rework" slug: "datenaustausch-connect-api-ct-productionmanager-rework-rework" updated: 2026-12-02T09:32:13Z published: 2026-12-02T09:32:13Z canonical: "docs.homag.cloud/datenaustausch-connect-api-ct-productionmanager-rework-rework" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.homag.cloud/llms.txt > Use this file to discover all available pages before exploring further. # Rework 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](https://docs.homag.cloud/docs/en/productionmanager-tutorial-rework). Implements: [`ISupportsLocalizedSerialization`](/docs/en/datenaustausch-connect-api-ct-base-interfaces-isupportslocalizedserialization) ## Example ```json {  "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?`](/docs/en/datenaustausch-connect-api-ct-productionmanager-rework-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`](/docs/en/datenaustausch-connect-api-ct-productionmanager-rework-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`](/docs/en/datenaustausch-connect-api-ct-productionmanager-rework-reworkreason) | Reason why the rework is needed. | Example: `PartDamaged` | | `RejectionDetails` | [`RejectionDetails?`](/docs/en/datenaustausch-connect-api-ct-productionmanager-rework-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`](/docs/en/datenaustausch-connect-api-ct-productionmanager-rework-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`](https://connect.homag.cloud/productionmanager/#v1/tag/b06-tracking-reworks-and-rework-history/GET/api/productionManager/reworks) | Output | | **GET** | [`/api/productionManager/statistics/reworks`](https://connect.homag.cloud/productionmanager/#v1/tag/b06-tracking-reworks-and-rework-history/GET/api/productionManager/statistics/reworks) | Output | ## Referenced by | Contract | Category | Properties | | --- | --- | --- | | [`ReworkCreatedEvent`](/docs/en/datenaustausch-connect-api-ct-productionmanager-events-rework-reworkcreatedevent) | ProductionManager/Events/Rework | `Rework` | Package: [HomagGroup.HomagConnect.ProductionManager.Contracts 2.2.5-preview.98](https://www.nuget.org/packages/HomagGroup.HomagConnect.ProductionManager.Contracts/2.2.5-preview.98) Source: [Rework.cs](https://github.com/HomagGroup/HOMAG-Connect/blob/main/Applications/ProductionManager/Contracts/Rework/Rework.cs) Samples: [ProductionManager samples](https://github.com/HomagGroup/HOMAG-Connect/tree/main/Applications/ProductionManager/Samples)