• Exercise 8: Stream updates with Fiddler

    1. Register for Stream Updates to the "\\PIAF\Nugreen\Nugreen\Houston\Cracking Process\Equipment\B-210|Fuel Gas Flow” attribute   HTTP Verb: POST URL: https://HostName/piwebapi/streams/WebId/updates Reques...
    Milanez
    last modified by Milanez
  • Exercise 7: AF Search with Fiddler

    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&qu...
    Milanez
    last modified by Milanez
  • Exercise 6: Batch Controller with Fiddler

    !!! Remember to add the Content-Type: application/json at the header !!!   1. Use a batch request to retrieve all the Asset Servers and Data Archives for your PI Web Instance 1.1)     Ensure ...
    Milanez
    last modified by Milanez
  • Exercise 5: Using non-browser HTTP Clients with Fiddler

    The following should be done using Fiddler, PostMan, or another non-browser application capable of making HTTP requests   1. Retrieve the interpolated data for the CDT158 point every minute for the past two hour...
    Milanez
    last modified by Milanez
  • Exercise 4: WebId 2.0 in PHP

    <?php $WebIdFull = "F1AbE6pYH8lK3Jk2dIj1acJ13rQQexAQCag6hGBbQBQVqMfqQ7ov8FlfosFwIRaAy2h-zmQU0VSVkVSXE5VR1JFRU5cTlVHUkVFTlxXSUNISVRBXENSQUNLSU5HIFBST0NFU1NcRVFVSVBNRU5UXFAtNzIzfElOU1RBTExBVElPTiBEQVRF"; $Path = "SE...
    Milanez
    last modified by Milanez
  • Exercise 3: PI Web API

    Knowledge Check: PI Web API WebIds  Explain how to determine the difference between version 1 and version 2 WebId?   A: check the second char at the webid string. 0 for the version 1 and 1 for the version 2.
    Milanez
    last modified by Milanez
  • Exercise 1: PI Web API

    What Authentication method you are using to connect to the PI Web API? Kerberos What is the Windows account used to connect to the PI Web API? administrator@pisystem What is the version of the PI Web API?"ProductTit...
    Milanez
    last modified by Milanez
  • Exercise 2: PI Web API

    Use the PI Web API Help Files for the next set of exercises   1. From the PI Web API landing page, open the help files for your local installation of the PI Web API   2. Open the PI Web API Help files host...
    Milanez
    last modified by Milanez
  • Solution: PI Web API Help Files

    From the PI Web API landing page, open the help files for your local installation of the PI Web APIFrom the main landing page, select the “PI Web API Help” URL in the upper right corner Open the PI Web AP...
    jkim
    last modified by jkim
  • Exercise 1: Browser

    Using a browser, open the PI Web API landing page (https://hostname/piwebapi) and using the links navigate to find the following information: What Authentication method you are using to connect to the PI Web API? What...
    dmiller
    last modified by jkim
  • Solution: Stream Updates

    Register for Stream Updates to the "\\PIAF\Nugreen\Nugreen\Houston\Cracking Process\Equipment\B-210|Fuel Gas Flow” attribute HTTP Verb: GET URL: https://HostName/piwebapi/streams/WebId/updates Request Body: (n...
    jkim
    last modified by jkim
  • JSONPath Resources

    For more information on JSONPath syntax and how to reference different portions of a JSONPath please see the following: https://goessner.net/articles/JsonPath/index.html#e2   To test your JSON Syntax you can use ...
    jkim
    last modified by jkim
  • What will I learn in this course?

    By the end of the course, you will be able to: Understand the common use cases of Web API and determine if it is the correct tool for your use case Comfortably utilize the PI Web API in a browser to navigate to specif...
    jkim
    last modified by jkim
  • Exercise 7: AF Search

    The following should be done using Fiddler, PostMan, or another non-browser application capable of making HTTP requests.  Hint: PI Web API AF Search Examples Using AF Search, query for the elements on the PIAF AF...
    jkim
    last modified by jkim
  • Exercise 2: PI Web API Help Files

    Use the PI Web API Help Files for the next set of exercises From the PI Web API landing page, open the help files for your local installation of the PI Web API Open the PI Web API Help files hosted on the Tech Support...
    dmiller
    last modified by jkim
  • Final Project

    To complete this course and receive a certificate of participation, you must complete a final project on or before the deadline specified at the beginning of your course.  Additionally, if you have any questions ...
    dmiller
    last modified by jkim
  • PI Web API AF Search Examples

    Find Elements whose name starts with a B: https://hostname/piwebapi/elements/search?databaseWebId=WebId&query=Name:='B*'   Find Elements by Template name: https://hostname/piwebapi/elements/search?databaseWe...
    jkim
    last modified by jkim
  • PI Web API Core Filtering Examples

    Get Attributes on a particular element: https://hostname/piwebapi/elements/WebId/attributes   Filter for Attributes by Name that contains Fuel: https://hostname/piwebapi/elements/WebId/attributes?nameFilter=*Fue...
    jkim
    last modified by jkim
  • Using PI Web API Securely

    I’d like to take some time to give some guiding tips on how to make your PI Web API more secure. “How do we lock down the PI Web API” is a question we often get here at OSIsoft and the answer it depe...
    jkim
    last modified by jkim
  • Best Practices and Performance Improvement for PI Web API Requests

    I’d like to take some time to give some guiding tips on how to improve your PI Web API requests’ performance. “How do we make our PI Web API queries faster” is a question we often get here at O...
    jkim
    last modified by jkim