Exercise 7: AF Search with Fiddler

Document created by Milanez on Jun 4, 2020
Version 1Show Document
  • View in full screen mode

1. Using AF Search, query for the elements on the PIAF AF Server in the NuGreen Database using the Element “Process”
HTTP Verb: GET
URL: https://HostName/piwebapi/elements/search?databaseWebId=WebId&query=templateName:=Process
Request Body: (null)

 

2. Using AF Search, query for the elements on the PIAF AF Server in the NuGreen Database using the AF Category “Locations”
HTTP Verb: GET
URL: https://HostName/piwebapi/elements/search?databaseWebId=WebId&query=Category:=Locations
Request Body: (null)

 

3. Using AF Search, query for the attributes under the “B-210” Element (Note that attribute queries require you to specify the search path for the attributes, whether that be an Element, Event Frame, or another Attribute)
HTTP Verb: GET
URL: https://HostName/piwebapi/attributes/search?databaseWebId=WebId&query=Element:{Name:='B-210'}
Request Body: (null)

 

4. Using AF Search, query for the attributes on Boiler elements in the NuGreen Database under the AF Category “Energy Savings KPI”
HTTP Verb: GET
URL: https://HostName/piwebapi/attributes/search?databaseWebId=WebId&query=Element:{Name:='B-210'}%20Category:='Energy%20Savings%20KPI'
Request Body: (null)

Attachments

    Outcomes