Changelog
- Last UpdatedJun 15, 2023
- 8 minute read
- PI System
- PI Web API Reference
- Developer
Items listed in bold are considered potentially breaking changes from the previous released version. Potentially breaking changes include:
-
Changes to the structure of returned objects
- Addition/removal of properties or links
- Changes to the structure of composed types (e.g. collections)
- Status code changes
- Changes to default parameter values
We make a special effort not to remove properties or links, change the structure of composed types, change the class of status codes (e.g. 200 class to 400 class), or change default parameter values.
Clients should be prepared to handle changes to status codes within the same class, especially the 400 and 500 classes, and to handle the addition of properties and links to response objects.
PI Web API OMF Services 2023
New features:
Bug Fixes:
PI Web API OMF Services 2021 SP3
For more information, see the PI Web API OMF Services 2021 SP3 detailed changes topic.
New features:
-
Simplified Type delete
- Only TypeID is required to delete a type - other fields will be ignored.
-
Simplified Container delete
- Only Container and TypeID are required to delete a container - other fields will be ignored.
-
Simplified Static Data delete
- Only TypeID and Values are required to delete static data - other fields will be ignored.
-
Case Insensitivity
- Container ID's are now case insensitive.
- Type ID's are now case insensitive.
- Static Data indicies are now case insensitive.
Enhancements:
- Container Create/Update will not overwrite Step point attribute of OMF PI Points when taking over existing PI Point.
- Contianer Update will not overwrite DataSource point attribute of OMF PI Points when "datasource" field is not specified in OMF messages.
- Warning is returned when the precision of a value may be lost in processing OMF Data messages.
Bug Fixes:
- None.
PI Web API OMF Services 2021 SP2
For more information, see the PI Web API OMF Services 2021 SP2 detailed changes topic.
New features:
-
Support for per-request response verbosity has been added.
- For more information, see the PI Web API OMF Services 2021 SP2 detailed changes topic.
Enhancements:
-
The 'OmfIncludeInnerEvents' configuration option has been added. This setting controls whether responses populate the 'InnerEvents' field by default.
- Previously, responses always included the 'InnerEvents' field, but it would only be populated when the 'DebugMode' configuration was enabled. Now, the 'InnerEvents' field will be populated based on this setting.
- Available options are
TrueandFalse. - The default setting is
True. - For more information, see the PI Web API OMF Services 2021 SP2 detailed changes topic.
ContainerOverlapsWithAnotherContainerevents will now return status code 409 (Conflict), instead of 500 (Internal Server Error).-
Improved error handling when connecting to Asset Framework and Data Archive servers.
- Previously, when an Asset Framework or Data Archive server was not found or could not be connected to, a 500 (Internal Server Error) would be returned.
- Now, a 503 (Service Unavailable) will be returned.
-
Improved error handling when an operation fails due to a network interruption to Asset Framework or Data Archive.
- Previously, when an operation failed due to a network interruption, a generic 500 (Internal Server Error) would be returned.
- Now, in most cases, a 504 (Gateway Unavailable) will be returned. Some operations which can gracefully recover from a network interruption may return a more specific status code if data was lost as a result of the network interruption.
-
Some operations will return additional parameters indicating what
typeorcontainerthe event is related to.-
Previously, the client needed to check the message index to determine which resource caused the failure. Now, the client can choose to rely on the event parameters if they are available and using the message index is too cumbersome.
- Note that the set of parameters returned by an operation may change between OMF versions or releases of the PI Web API. When possible, the message index is still the preferred mechanism to determine which resource caused a failure.
-
Previously, the client needed to check the message index to determine which resource caused the failure. Now, the client can choose to rely on the event parameters if they are available and using the message index is too cumbersome.
-
The
PointReferenceAttributesUpdatedmetric now reflects the number of AF Attributes updated when processing alink.- Previously, these attributes were rolled up under the
PointReferenceAttributesCreatedmetric.
- Previously, these attributes were rolled up under the
Bug Fixes:
-
update dataoperations that includelinkmessages no longer incorrectly report mismatches when alinkalready exists.- Previously, the mismatch would prevent the
linkfrom being updated. Now, thelinkwill be correctly updated.
- Previously, the mismatch would prevent the
-
Operations involving static-to-dynamic
links where the target container includes an enumeration property will no longer incorrectly report PI Point mismatches.- Previously, a
create datarequest that included a static-to-dynamiclinkwhere the target container included an enumeration property would succeed, but subsequent operations on the LINK (ex. re-submittedcreateoperations,deleteoperations, etc.) would incorrectly report a PI Point mismatch. Now, the check is performed correctly, and subsequent operations will succeed (or fail with the correct error message).
- Previously, a
PI Web API OMF Services 2021 SP1
For more information, see the PI Web API OMF Services 2021 SP1 detailed changes topic.
New features:
-
Extended support for version 1.2 of the OMF specification has been added.
- For more information, see the PI Web API OMF Services 2021 SP1 detailed changes topic.
Enhancements:
- Performance improvements for
createandupdatecontaineroperations. - Performance improvements for
dataoperations. -
Some events have been renamed.
- For more information, see the PI Web API OMF Services 2021 SP1 detailed changes topic.
Bug Fixes:
-
The interpolation mode of PI Points created using earlier versions of PI Web API is now ignored.
- Full interpolation mode support is available as of this release. Previously, interpolation mode was an internal feature of PI Web API and could not be controlled.
- For more information, see the PI Web API OMF Services 2021 SP1 detailed changes topic.
-
Container messages that include unsupported property overrides will now return accurate events.
- Previously, when a container message included property overrides for a reference property, if a property override was not supported, the event would incorrectly identify which override was not supported. Now, the event parameters will correctly indicate which property overrides are not supported.
-
Minimum and maximum values derived from PI Point Span and Zero attributes are now clamped to the range of the specified property type and format.
- Previously, if an OMF PI Point's Span and Zero attributes represented minimum or maximum values outside the range of the specified property type format, some operations that consume the PI Point could fail (such as creating a link). Now, the minimum and maximum values will be clamped to the allowed range, and the operation will not fail.
-
Links can be created when a PI Point has an Engineering Unit that does not correspond to an AF UOM.
- Previously, if an OMF PI Point's Engineering Unit attribute did not correspond to an AF UOM, the link operation would fail. Now, the link will be created without an associated UOM.
PI Web API OMF Services 2021
For more information, see the PI Web API OMF Services 2021 detailed changes topic.
New features:
-
Partial support for version 1.2 of the OMF specification has been added.
-
OMF version 1.2 introduces many new features, including:
- Enumeration types
- Property minimum and maximum support
- Overriding type-level information when processing containers
-
For more information, see the following resources:
- OMF v1.2 Specification, for more about OMF v1.2.
- PI Web API OMF Services 2021 detailed changes, for more about the features supported in this release of PI Web API.
- PI Web API Companion Guide, for more on PI Web API specific OMF development considerations and tips.
-
OMF version 1.2 introduces many new features, including:
-
The
updateaction is now partially supported for thecontainerresource type.- For more information, see the PI Web API OMF Services 2021 detailed changes topic.
-
Improved PI Point migration support is now available.
- For more information, see the PI Web API OMF Migration topic.
-
Performance metrics for OMF are now available.
- For more information, see the Performance Metrics - OMF topic.
Enhancements:
- Some event info parameter names have been changed for readability.
array,object, and non-Date-Timestringproperties are now implicitly nullable.-
UpdateOperationCreatedNewResourcehas been replaced with more specific events.-
Depending on the type of resource created, one of the following events will be returned:
ContainerCreatedLinkCreatedStaticInstanceCreated
-
Depending on the type of resource created, one of the following events will be returned:
-
Some events regarding resource collisions have been updated.
- Operations that previously returned
TypeMismatchnow returnTypeConflictsWithExisting. - For more information, see the PI Web API OMF Services 2021 detailed changes topic.
- Operations that previously returned
-
The 'OmfCreateMode' configuration option has been added. This setting indicates how to treat duplicate values when writing
dynamic datato the Data Archive.- Available options are
Replace,Insert, andNoReplace. - The default mode is
Insert.
- Available options are
- Existing
digitalPI Points can now be adopted by containers. -
The per-user OMF cache can now be cleared using the
Cache-Control: no-cacheheader.- For more information, see the PI Web API OMF Services 2021 detailed changes topic.
-
Dynamic data for
int32properties will no longer returnFeatureNotSupportedfor very large negative numbers.- Previously, these values were rejected because the Data Archive cannot faithfully store them. Now, the value will be coerced to the
Over RangeDigital State.
- Previously, these values were rejected because the Data Archive cannot faithfully store them. Now, the value will be coerced to the
Bug Fixes:
-
Containers using a type that has no non-system properties will be rejected.
- Previously, containers that used a type that had only system properties would be accepted, but no PI Points would be created. This meant container IDs could be incorrectly re-used.
StaticDataDoesNotMatchExistingevents will now return status code 409 (Conflict), instead of 400 (Bad Request).-
delete containermessages that do not match the existing container will now return status code 409 (Conflict), instead of 200 (OK).- Previously, if a
delete containermessage did not match the existing container, PI Points would not be deleted, but a 200 (OK) would still be returned. Although the underlying behavior has not changed, clients may need to be updated to account for the new status code.
- Previously, if a
- Types containing properties which specify a UOM may now be deleted using either the UOM's full name, or its abbreviation.
- A PI Point extended descriptor that ends in a comma will no longer cause requests to hang.
- A
delete typemessage that is rejected due to a mismatch between the message and the existing resource now includes information about the detected mismatch. - Static-to-dynamic links now set attribute UOMs.
PI Web API OMF Services 2019 SP1
For more information, see the PI Web API OMF Services 2019 SP1 detailed changes topic.
New features:
-
Limited support for the
updateaction has been added.updateis now supported fordatarequests for thestatic,dynamic, and__linkresource types.- For more information, see the OMF Endpoint Notes topic.
-
Naming conventions have been changed for some resource types.
- For more information, see the PI Web API OMF Migration topic.
-
Limited migration support has been added for some resource types.
- For more information, see the PI Web API OMF Migration topic.
Fixes and Enhancements:
ContainerNotFoundandStaticInstanceNotFoundevents will now return status code 404 (Not Found), instead of 400 (Bad Request).TypeDoesNotHavePropertyWithSpecifiedIndexhas had its severity downgraded fromErrortoInfo.- The string values
"NaN","Infinity", and"-Infinity"are now accepted for properties of typenumber. - Bug fixes
PI Web API OMF Services 2019
For more information, see the PI Web API OMF Services 2019 detailed changes topic.
New features:
-
OMF v1.1 data ingress through PI Web API endpoint now supported over HTTPS when Open Message Format Services are installed
- Support for
createanddeleteactions. updateactions are not implemented.- For more information, see the OMF Endpoint Notes topic.
- Support for