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

PI Web API Reference

Omf PostAsync

Omf PostAsync

Accepts OMF messages for processing. See OMF Endpoint Notes for more information.

Request

POST omf

Status Codes

200: The request was accepted for processing. The operation completed successfully.

201: The request was accepted for processing. The system now contains the specified resources.

202: The request was accepted for processing. The operation may not yet have been completed.

400: The request was rejected because it was not valid.

403: The request was rejected because the user does not have sufficient permissions to perform the requested operation.

404: The request was rejected because a specified resource could not be found.

409: The request was rejected because of a conflict between a specified resource and the server state.

500: The request could not be accepted or processed because of a server-side problem. The problem may or may not be transient in nature.

501: The request could not be accepted or processed because the request relies on a feature which is either not supported or not implemented.

503: The request could not be accepted or processed because the server is temporarily unavailable.

504: The request could not be accepted or processed because a connection to a network resource required to process the operation was broken.

Sample Request Body


            [
              {
                "containerid": "Tank1Measurements",
                "values": [
                  {
                    "Time": "2017-01-11T22:23:23.430Z",
                    "Pressure": 12.0,
                    "Temperature": 100.1
                  },
                  {
                    "Time": "2017-01-11T22:24:23.430Z",
                    "Pressure": 11.5,
                    "Temperature": 101.2
                  }
                ]
              },
              {
                "containerid": "Tank2Measurements",
                "values": [
                  {
                    "Time": "2017-01-11T22:23:23.430Z",
                    "Pressure": 14.0,
                    "Temperature": 90.1
                  },
                  {
                    "Time": "2017-01-11T22:24:23.430Z",
                    "Pressure": 15.1,
                    "Temperature": 91.2
                  }
                ]
              }
            ]
            
In This Topic
TitleResults for “How to create a CRG?”Also Available in