Update an edgeband type

Prev Next

Purpose: Modify the properties of an existing edgeband type, e.g. after a change in the ERP material master.

Prerequisites: The edgeband type exists (read it).

Code

using HomagConnect.MaterialManager.Contracts.Update;

var update = new MaterialManagerUpdateEdgebandType
{
    DefaultLength = 150,
    Comments = "Länge laut ERP angepasst"
};

var edgebandType = await client.Material.Edgebands.UpdateEdgebandType("ABS_White_1mm", update);

Only the fields that are set are changed.

PATCH https://connect.homag.cloud/api/materialManager/materials/edgebands?edgebandCode=ABS_White_1mm
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>
Content-Type: application/json

{
  "defaultLength": 150,
  "comments": "Länge laut ERP angepasst"
}

Only the fields included in the request are changed.

Contracts used

Field Constraint
DefaultLength 0–2000
Height 0.1–999.9
Thickness 0.01–99.99
Comments max. 300 characters
ExternalSystemId ERP material number

Contract: MaterialManagerUpdateEdgebandType (all fields are optional). See the Data model for all fields.

Used in: Edgeband management (#3)