--- title: "Create an edgeband type" slug: "datenaustausch-connect-api-bsp-mm-kantentyp-anlegen" updated: 2026-12-02T10:11:09Z published: 2026-12-02T10:11:09Z canonical: "docs.homag.cloud/datenaustausch-connect-api-bsp-mm-kantentyp-anlegen" --- > ## 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. # Create an edgeband type **Purpose:** Create a new edgeband type in materialManager from the ERP material master. **Prerequisites:** materialManager license with the Connect interface, [client configured](/docs/de/datenaustausch-connect-api-schnellstart). ## Code **C#** ```csharp using HomagConnect.MaterialManager.Contracts.Material.Edgebands.Enumerations; using HomagConnect.MaterialManager.Contracts.Request; var request = new MaterialManagerRequestEdgebandType {    EdgebandCode = "ABS_White_1mm",    Height = 20,    Thickness = 1.0,    DefaultLength = 23.0,    MaterialCategory = EdgebandMaterialCategory.ABS,    Process = EdgebandingProcess.Other }; var edgebandType = await client.Material.Edgebands.CreateEdgebandType(request); ``` **REST** The request is `multipart/form-data`. The `edgebandTypeRequest` field contains the JSON body, optionally followed by files (e.g. images). ```shell curl -u ":" \  -X POST "https://connect.homag.cloud/api/materialManager/materials/edgebands" \  -F 'edgebandTypeRequest={        "edgebandCode": "ABS_White_1mm",        "height": 20,        "thickness": 1.0,        "defaultLength": 23.0,        "materialCategory": "ABS",        "process": "Other"      };type=application/json' ``` ## Contracts used | Field | Required | Constraint | Typical value | | --- | --- | --- | --- | | `EdgebandCode` | yes | max. 50 characters | `ABS_White_1mm` | | `Height` | yes | 0.1–999.9 mm | `20` | | `Thickness` | yes | 0.01–99.99 mm | `1.0` | | `MaterialCategory` | yes | `EdgebandMaterialCategory` | `ABS` | | `Process` | yes | `EdgebandingProcess` | `Other` | | `DefaultLength` | no | 0–2000 | `23.0` | | `ProductName` | no | max. 200 characters | | | `Comments` | no | max. 300 characters | | Contract: [`MaterialManagerRequestEdgebandType`](/docs/en/datenaustausch-connect-api-ct-materialmanager-materialmanagerrequestedgebandtype) → response [`EdgebandType`](/docs/en/datenaustausch-connect-api-ct-materialmanager-material-edgebands-edgebandtype). See the [Data model](/docs/en/datenaustausch-connect-api-contracts) for all fields. ## Common errors | Error | Cause | Solution | | --- | --- | --- | | `ValidationException` (C#) / 400 | Required field is missing or value is out of range | Check the constraints above | | 409 / 400 | `EdgebandCode` already exists | [Update](/docs/en/datenaustausch-connect-api-bsp-mm-kantentyp-aktualisieren) the edgeband type | > **To verify:** Serialization of enums in the REST body (name vs. number) and status code for a duplicate. **Used in:** [Edgeband management](/docs/de/datenaustausch-connect-api-uc-kanten) (#2)