AnsweredAssumed Answered

Issue with the Search Query in piwebapi, some PI tags do not return any data

Question asked by rmaroun on May 4, 2016
Latest reply on May 4, 2016 by gregor

Hi we created 6 PI tags all with attributes in PI AF. When we try to search for those tags using the search query in piwebapi, some of the tags do not return any data.

 

Here is the result from the following API call for tag 21-HG-411 it does not find any item.

Api call: https://myserver/piwebapi/search/query?q=name:21-HG-411

 

Response:

{

  "Links": {

    "Next": "https://osisoft.vm.cld.sr/piwebapi/search/query?q=name%3A21-HG-411&count=10&start=10",

    "First": "https://osisoft.vm.cld.sr/piwebapi/search/query?q=name%3A21-HG-411&count=10",

    "Last": "https://osisoft.vm.cld.sr/piwebapi/search/query?q=name%3A21-HG-411&count=10&start=0"

  },

  "Errors": [],

  "Items": []

}

 

Thank you for your help on this,

 

Ralph.

Outcomes