Retrieve workstations and storage locations

Prev Next

Purpose: Find the workstation (e.g. edgeband storage, edgebanding cell) and a storage location where a roll will be stored.

Prerequisites: materialAssist license with the Connect interface. Workstations and storage locations are configured in materialAssist.

Code

var workstations = await client.Edgebands.GetWorkstations();
var workstation = workstations.First();

var storageLocations = await client.Edgebands.GetStorageLocations(workstation.Id);

foreach (var location in storageLocations)
{
    Console.WriteLine($"{location.Name} ({location.LocationId})");
}
GET https://connect.homag.cloud/api/materialAssist/edgebandEntities/workstations
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>
GET https://connect.homag.cloud/api/materialAssist/edgebandEntities/storageLocations?workstationId=<WorkstationId>
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>

Contracts used

Contract Important fields
Workstation Id, Name, Type, GroupName, AssignedTapioMachineId
StorageLocation LocationId, Name, Barcode, LocationType

See the Data model.

Used in: Edgeband management (#5, #6)