5 Replies Latest reply on Aug 8, 2018 7:25 PM by Oscar_Garcia

    PI Web API - Ignore Category/Template Name



      Is there a way to ignore the parameters categoryName/tempateName in a GetInterpolated request if they are null?


      I have a python function that gets the different parameter inputs for the request.  User can optionally specify category or template name but looks the GetInterpolated request  doesn't like when categoryName/templateName parameters are null. It fails with error {'Errors': ['A value is required but was not present in the request.']}.


      Usually the wildcard '*' means anything but looks that doesn't work either. It fails with ["Attribute category named '*' not found in Asset Database].