Solution: AF Search

Document created by jkim Employee on Jun 24, 2019
Version 1Show Document
  • View in full screen mode

The following should be done using Fiddler, PostMan, or another non-browser application capable of making HTTP requests

  • 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)

 

  • 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)

 

  • 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)

 

  • 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