Need to know more about using PI web api

Discussion created by Flutura on Jul 19, 2014
Latest reply on Nov 12, 2015 by QasimGulzar

Hello everyone,


In one of my previous posts in a different thread, someone had suggested me to use Rest api for my use case.


So I am basically trying to simulate like a hundred random points sending data to the pi server which in turn should connect to this RESTful API from where data could be sent forward to my existing data pipeline in a format like JSON or similar.


I am really new to PI and needed little clarity as to what way shall I approach this problem. Do I need to use the SDK tool to connect PI server to the REST API?


My understanding is that I should be using ICU's "Random" interface to generate random 100 points, which would send data to the server. From there, I shall be connecting my REST API to fetch data and pass it in JSON format forward.


Please correct me if I am wrong. Also, it would be great if anyone could share some example of this kind of implementation.