Purpose: Check whether an edgeband type for an ERP material number already exists, and read its properties.
Prerequisites: materialManager license with the Connect interface, client configured.
Code
// Read a single edgeband type
var edgebandType = await client.Material.Edgebands.GetEdgebandTypeByEdgebandCode("ABS_White_1mm");
// Read multiple edgeband types
var edgebandTypes = await client.Material.Edgebands.GetEdgebandTypesByEdgebandCodes(
new[] { "ABS_White_1mm", "ABS_Black_2mm" });
// Read all edgeband types page by page
var page = await client.Material.Edgebands.GetEdgebandTypes(take: 100, skip: 0);
GET https://connect.homag.cloud/api/materialManager/materials/edgebands?edgebandCode=ABS_White_1mm
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>
Accept: application/json
Read all edgeband types page by page:
GET https://connect.homag.cloud/api/materialManager/materials/edgebands?take=100&skip=0
Optional parameters: includingDetails, changedSince, externalSystemId.
Contracts used
| Contract | Role |
|---|---|
EdgebandType |
Response: edgeband type with all properties |
Common errors
| Error | Cause | Solution |
|---|---|---|
| Empty list / 404 | EdgebandCode does not exist |
Create the edgeband type |
Used in: Edgeband management (#1)
