Step 3 - Create a container and send it in OMF Container message
- Last UpdatedSep 04, 2025
- 1 minute read
Next, create a container that uses the dynamic type created. The container acts as the destination for our application's time-series data. The PI Web API creates PI Points in response to container messages.
Note: Containers can only be created using dynamic types. Static types are used for static data, which your simple application does not send.
Headers
omfversion = 1.2
messagetype = container
messageformat = json
action = create
Body
[
{
"id": "container1",
"typeid": "DataType"
}
]
This creates a PI point named container1 in the PI Data Archive. You can use PI System Management Tools to check this by navigating to the Points/Point Builder, and then searching for the PI point named container1. See the PI System Management Tools guide for more information.