// result: INFOTABLE dataShape: "NetworkConnection" let getChild = Networks["PTC.Factory.PlantNetwork"].GetChildConnections({ name: siteName /* STRING */ }); getChild.rows.toArray().forEach(row => { // Provide your filter using the format as described in the help topic "Query Parameter for Query Services" let query = { "filters": { "type": "EQ", "fieldName": "name", "value": row.to } }; result = Things["PTC.SCA.SCO.ContextUtils"].GetEquipmentNetworkForKPIs_Copy({ includeStructureInFilter: false /* BOOLEAN */, contextName: "DefaultContext" /* STRING */, permissionType: "Read" /* STRING */, filterQuery: query /* QUERY */ // PTC.Factory.EquipmentStatusTreeDataShape entry object }); // result: INFOTABLE dataShape: "PTC.Factory.EquipmentStatusTreeDataShape_Copy" });