AnsweredAssumed Answered

Using PI Web API with a web service

Question asked by Arpit Champion on Mar 23, 2017
Latest reply on Mar 24, 2017 by Arpit

Hello


Following this question here Which PI application can help me? - I have decided to go with PI Web API

 

 

Was wondering if PI Web API can connect to a web service also and pull the data?

 

So my requirement is : I have a web service and i need to consume that in order to get data and put it up in the PI tags.

 

Can i connect to PI Web API to a web service source and pull the data? (I know that PI Web API can push the data to the tags)

 

my current approach/solution is to make call to the web service using HttpWebRequest, store the Json data in some sort of object and put the data into the PI tags using PI Web API.

 

Please suggest if there's a better way to achieve it.

 

Thank you all!

Outcomes