Power Digital Solutions Ideas Portal

Ability to use filter operator to retrieve assets from different enterprises (i.e. sourceKey= TurbineXYZ | sourceKey= TurbineABC | sourceKey= Engine123), which is equivalent to an “in clause” in a relational database

The | (or) and : (and) operators are not supported for the endpoint , say'https://apm-asset-rc.run.asv-pr.ice.predix.io/v1/sites?components=PARENT&sortBy=name&sourceKey=PL000277|sourceKey=PL000243’'' between parameters. If multiple criteria are required they are individual parameters separated by the http & character. These clauses are all anded together to determine the results. 

The issue where filter operation is only supported when the attributes are different (i.e. name = abc1 | type = Gas Turbine | sourceKey = TurbineXYZ)  Instead of trying to use the filter operator to retrieve assets from different enterprises (i.e. sourceKey= TurbineXYZ | sourceKey= TurbineABC | sourceKey= Engine123), which is equivalent to an “in clause” in a relational database.  The current Predix Asset does not support this type of operation.

Lets enable this type of operation, this would be useful also where there are multiple customers per tenant

  • Madhumilind Toraskar
  • Jun 2 2017
Type of request Enhancement
Contact Information - Email/SSO (only GE Employees) madhumilind.toraskar@ge.com / 105042489