Request Plants from a Portal
In order to have all plants on one portal, use this API Call:
GET https://{baseUrl}/api/v1/{portal}/administration/plants
In the response, all plants to which the API user has access are reported back. An object for a plant looks like this:
[
{
"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
}
]