--- title: "OptimizationRequest" slug: "datenaustausch-connect-api-ct-intellidivide-request-optimizationrequest" updated: 2026-12-02T09:28:45Z published: 2026-12-02T09:28:45Z canonical: "docs.homag.cloud/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequest" --- > ## 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. # OptimizationRequest Represents an optimization request built using the object model. Combines a named set of Parts with the machine, parameters, boards, and action inherited from OptimizationRequestBase. Inherits from: [`OptimizationRequestBase`](/docs/en/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequestbase) ## Example ``` {              "name": "Order_20260120",              "machine": "productionAssist Cutting",              "parameters": "Default",              "action": "Optimize",              "unitSystem": "Metric",              "boards": [  // optional, materialManager data is used if not provided                {                  "materialCode": "P2_White_19.0",                  "boardCode": "P2_White_19.0_2800_2070",                  "length": 2800,                  "width": 2070,                  "thickness": 19.0,                  "grain": "None",                  "quantity": 20,                  "costs": 10.5                }              ],              "parts": [                {                  "description": "Left Side",                  "materialCode": "P2_White_19.0",                  "length": 600,                  "width": 300,                  "thickness": 19.0,                  "quantity": 5,                  "grain": "None"                },                {                  "description": "Right Side",                  "materialCode": "P2_White_19.0",                  "length": 600,                  "width": 300,                  "thickness": 19.0,                  "quantity": 5,                  "grain": "None"                }              ]            } ``` ## Properties Required: `Action`, `Machine`, `Name`, `Parameters` | Property | Type | Description | Details | | --- | --- | --- | --- | | `Action` | [`OptimizationRequestAction`](/docs/en/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequestaction) (required) | Action to perform after the request is submitted. Defaults to ImportOnly, which creates the optimization without starting it. | Default: `ImportOnly` Example: `Optimize` | | `Boards` | [`OptimizationRequestBoard[]`](/docs/en/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequestboard) | Boards available for the optimization. Optional — when no boards are provided, the required boards are retrieved automatically from materialManager. | Example: `[ { "materialCode": "P2_White_19.0", "boardCode": "P2_White_19.0_2800_2070", "length": 2800, "width": 2070, "thickness": 19.0, "grain": "None", "costs": 10, "quantity": 70 } ]` | | `ExtensionData` | [`ExtensionDataObject`](/docs/en/datenaustausch-connect-api-ct-common-extensiondataobject) | | | | `Machine` | `string` (required) | Name of the target machine. Maximum length is 100 characters. | Length 3 to 100 Example: `productionAssist Cutting` | | `Name` | `string` (required) | The name to assign to the optimization. Use 3 to 100 characters and do not include \, /, :, *, ?, ", <, >, or /. If omitted, a name is generated automatically. | Length 3 to 100 Example: `Order_20250120` | | `Parameters` | `string` (required) | Name of the parameter set to use. Maximum length is 100 characters. | Length 3 to 100 Example: `Default` | | `Parts` | [`OptimizationRequestPart[]`](/docs/en/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequestpart) | Parts to include in the optimization. At least one part is required, and at least one part must have a Quantity greater than 0. | Min length 1 Example: `[ { "description": "Part A", "materialCode": "P2_White_19.0", "length": 600, "width": 300, "quantity": 10 } ]` | ## 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 | | --- | --- | --- | | **POST** | [`/api/intelliDivide/optimizations/cutting`](https://connect.homag.cloud/intellidivide/#v1/tag/a3-creating-optimization-requests/POST/api/intelliDivide/optimizations/cutting) | Input | Package: [HomagGroup.HomagConnect.IntelliDivide.Contracts 2.2.5-preview.98](https://www.nuget.org/packages/HomagGroup.HomagConnect.IntelliDivide.Contracts/2.2.5-preview.98) Source: [OptimizationRequest.cs](https://github.com/HomagGroup/HOMAG-Connect/blob/main/Applications/IntelliDivide/Contracts/Request/OptimizationRequest.cs) Samples: [IntelliDivide samples](https://github.com/HomagGroup/HOMAG-Connect/tree/main/Applications/IntelliDivide/Samples)