I tried creating 9 different Pi Points from Web API. And then map each one of them to respective attributes. After mapping the error is resolved.
Now while adding data to these Pi Points which WebId I should use ?
1. I see list of Pi Points under : piwebapi/dataservers/s0r0HMDky5PUGJ-ic7-u7dlgREVWLVdJTjEy/points. Here I find webId for each one of my Pi Point created.
2. I see list of Attributes under : piwebapi/elements/https://126.96.36.199/piwebapi/elements/E0HdDpBzlPk0uB_F4CCh2MEQD2r4gPoR5hGAwwANOpBO7AREVWLVdJTjEyXFdIRUVMSEVBTFRIXEZPUkNFU1xJTDk3NTM/attributes<webID>/attributes. Here I find different WebId for each attribute.
I want to add historian data to each one of my attributes using PI WEB API. Which WebId I should use ? Is my approach correct ?
You should use the webId of the attribute (since the attribute corresponds to a time-series stream), and can call the endpoint below
You can also write to multiple attributes in one call via
Your profile shows me that you recently joined our community. Welcome! You managed creating PI Points using PI Web API, chapeau!
I just wanted to let you know that the PI System comes with tools like PI System Management Tool (PI SMT), PI System Explorer (PSE) and PI Point Builder add-in to Microsoft Excel that are designed for daily use of PI System administrators and I believe can as well ease your life. If you like to learn more, please visit OSIsoft Learning Channel at Youtube. I could imagine that the following videos may be interesting for you but suggest you to look out for more.
There's a bunch of information available and I believe one can easily become lost within the forest. Please ask for directions.