Dynamic type sample message
- Last UpdatedSep 04, 2025
- 1 minute read
The following sample message creates two dynamic types that you can use as templates for creating containers.
A container created from the type DeviceStatus will have two properties or PI points: Device Status and Speed. A container created from the type DeviceStatus2 will have one property or PI point: Acceleration.
Required header:
Start by sending a type message through the body of a POST request:
[
{
"id": "DeviceStatus",
"classification": "dynamic",
"properties": {
"DeviceStatus": {
"type": "string"
},
"Speed": {
"type": "number"
},
"Time": {
"format": "date-time",
"isindex": true,
"type": "string"
}
},
"type": "object"
},
{
"id": "DeviceStatus2",
"classification": "dynamic",
"properties": {
"Acceleration": {
"type": "number"
},
"Time": {
"format": "date-time",
"isindex": true,
"type": "string"
}
},
"type": "object"
}
]
Expected Response: .