Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

OMF with PI Web API

Step 4 - Provide data values to the container and send them in OMF Data message

Step 4 - Provide data values to the container and send them in OMF Data message

  • Last UpdatedSep 04, 2025
  • 1 minute read

Finally, assemble time-series data values and write them to the container created.

Note: The values property is a JSON array. A single HTTP request can include more than one data message, and each data message can include multiple values.

Headers


omfversion = 1.2
messagetype = data
messageformat = json
action = create

Body

[

{

"containerid": "container1",

"values": [

{

"timestamp": "2018-04-22T22:24:23.000Z",

"value": 3.14

},

{

"timestamp": "2018-04-22T22:24:24.000Z",

"value": 3.15

},

{

"timestamp": "2018-04-22T22:24:25.000Z",

"value": 3.16

}

]

}

]

Earlier, you used PI System Management Tools to check that the PI point was created. If you hover your mouse over the PI point, you can see the most recently received value.

In This Topic
TitleResults for “How to create a CRG?”Also Available in