Um alle Anlagen auf einem Portal nutzen Sie diesen API Call:
GET https://{baseUrl}/api/administration/plants
In der Antwort werden alle Anlagen zurückgemeldet auf die der API Benutzer Zugriff hat. Ein Objekt für eine Anlage sieht wie folgt aus:
[ { "id": "string", "ffufId": 0, "label": "string", "plantSize": 0, "createdAt": "2023-02-03T14:34:26.720Z", "functionalities": [ "string" ], "firmware": "string", "firmwareDate": "string", "firmwareVersion": "string", "deviceFullName": "string", "vendor": "SDS", "identifier": "string", "configStatus": 0, "fleetCount": 0, "latitude": 0, "longitude": 0, "fleets": [ "string" ], "plantCreator": 0, "crcVersion": 0, "componentsClasses": [ "string" ], "componentsTypes": [ "string" ], "targetPercentage": 0 } ]