7 Replies Latest reply on Dec 22, 2015 2:14 PM by pthivierge

    Is it possible to limit the attributes returned in a Search Request?

    I.Berry

      Hi!

       

      With a query like this on attribute name:

      /piwebapi/search/query?q=attributename:TimeSeriesValue&fields=name;webid;attributes

       

      The search API will return all the attributes from element templates that have an attribute called "TimeSeriesValue".

       

      This can be quite a bit of extra data that I don't really need sent to the client, is there a way to exclude attributes that don't match the search filter?

       

      Regards,

      Ivan