Purpose: Store a created edgeband roll at a storage location and provide its current length.
Prerequisites: The roll exists (create it); the workstation and storage location are known (retrieve them).
Code
using HomagConnect.MaterialAssist.Contracts.Storage;
var store = new MaterialAssistStoreEdgebandEntity
{
Id = "43",
Length = 100,
Workstation = workstation,
StorageLocation = storageLocations.First(l => l.Name == "Compartment 02")
};
await client.Edgebands.StoreEdgebandEntity(store);
POST https://connect.homag.cloud/api/materialAssist/edgebandEntities/43/store
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>
Content-Type: application/json
{
"id": "43",
"length": 100,
"workstation": { "id": "<WorkstationId>" },
"storageLocation": { "locationId": "<LocationId>", "name": "Compartment 02" }
}
Contracts used
| Field | Constraint |
|---|---|
Id |
max. 50 characters, existing roll |
Length |
0–2000; can be set freely only for ManagementType.Single |
Workstation |
from GetWorkstations() |
StorageLocation |
from GetStorageLocations(workstationId) |
Contract: MaterialAssistStoreEdgebandEntity. See the Data model.
To verify: Which fields of
WorkstationandStorageLocationare required in the REST body.
Used in: Edgeband management (#7)
