15 Replies Latest reply on May 29, 2018 2:01 PM by coelacanth

    Using piwebapi library in R with WebID rather than path

    coelacanth

      Hello,

      I'm trying to use the PI Web API via the piwebapi library in R. The problem is, the library uses the "path" for identifying points, whereas the API documentation uses the WebID. I can find the WebID for a particular point (using a web browser), but I cannot figure out how to turn the WebID back into a path so that I can use the library. I tried pulling back the point attributes like this:

      https://piserver/piwebapi/points/WebIDGoesHere

      ...which returns a number of properties, but doesn't include the path.

      Does anyone know how to do this? Or better yet, how can I use the piwebapi library in R with the WebID?