AnsweredAssumed Answered

PI Crawler

Question asked by benedita on Oct 2, 2017
Latest reply on Oct 11, 2017 by vkaufmann

Hi, i tried to use pi web api query search but it did not work.

I used this url : https://<webserver>/piwebapi/search/query?q:name=BIT

it returned

 


{ "Links": null, "Errors": [ { "Message": "Query parameter must be specified", "Source": null, "ErrorCode": 3 } ], "Items": [] }

but when this element "BIT" does exist. I can find the element if I manually search from its parent element.

 

"Items": [

  {

  "WebId": "E0wBB_EB7v1UKsHph1nAYa3QfzM2V4dg5xGA1wBQVqpshgUElERVZTRzFcUElERVZTRzFcV0lMTUFSX05FV1xJRFxCSVQ",

  "Id": "5736337f-6087-11e7-80d7-005056aa6c86",

  "Name": "BIT",

  "Description": "BITUNG",

  "TemplateName": "Site_Template",

  "HasChildren": true,

  "CategoryNames": [],

  "ExtendedProperties": {},

}

 

Can anyone help me with this?

Thank you.

Outcomes