PI Web API 2017 R2 Release Notes
PI Web API 2017 R2 Release Notes
PI Web API 2017 R2 Release Notes
Overview ................................................................................................................... 1
Fixes and Enhancements ........................................................................................ 1
Fixes .................................................................................................................... 1
Enhancements..................................................................................................... 2
Known Issues ........................................................................................................... 4
Setup ......................................................................................................................... 6
Operating Systems .............................................................................................. 6
Server Platforms .................................................................................................. 6
Distribution Kit Files ............................................................................................. 6
Installation and Upgrade ..................................................................................... 6
Uninstalling PI Web API ...................................................................................... 7
Improve PI Web API Performance ...................................................................... 7
Security Information and Guidance ....................................................................... 8
OSIsoft’s Commitment ........................................................................................ 8
Vulnerability Communication ............................................................................... 8
Vulnerability Scoring ............................................................................................ 8
Overview of New Vulnerabilities Found or Fixed ................................................ 8
Documentation Overview ........................................................................................ 8
Technical Support and Resources ......................................................................10
Overview
The PI Web API is a RESTful service in the Developer Technologies suite, designed to
provide cross-platform web and mobile programmatic interfaces to the PI System. The PI
Web API presently contains basic functionality needed to retrieve and manipulate time series
data from the PI Data Archive, Asset and Event Frame data from the PI Asset Framework,
and to index and search on objects within the PI System.
The PI Web API belongs to the OSIsoft PI Developer Technologies family of products, which
is designed to support the implementation of custom applications on top of the PI System, as
well as the integration of PI System data with other applications and business systems such as
Microsoft Office or SQL Server, Enterprise Resource Planning systems (ERPs), reporting and
analytics platforms, web portals, geospatial and maintenance systems, just to name a few. The
PI Developer Technologies cover a wide range of use cases in various environments,
programming languages, operating systems and infrastructures.
Fixes
This section lists items that were resolved or added in this release of PI Web API.
Work Item Description
11553 Admin Utility: Handle whitespace in custom
service accounts
142263 Core Services: Search by attribute will now
handle query tokens which contain control
characters when using the “IN” search operator
144561 Admin Utility: Handles removing trailing
whitespace from usernames
144916 Core Services: PI Web API service running as a
service account will not cause requests from
other service accounts to fail
145902 Core Services: EventFrame SearchByAttribute
can now handle enumeration values with
spaces
146133 Core Services: Batch sub-request header
names are treated case-insensitive
159218 Core Services: GZip encoding is correctly
applied with multiple Accept-Encoding header
values
159672 Core Services: Batch requests with certain
types –
AFAnalysis,
AFAnalysisRule,
AFElement,
AFElementTemplate,
This section lists items that were resolved in this release of PI Web API Indexed Search.
Work Item Description
142694 Limit the number of queries generated during
matchedfields calculations.
144579 Fixed matchedfields calculation for elements
with a large number of attributes.
160670 Elements with only ReadData permission are
now searchable.
167326 Incremental crawl now picks up changes for
elements based from derived templates
Enhancements
Operating Systems
The preferred, supported deployment platforms are Windows Server 2016 or Windows
Server 2012 R2.
Windows Server 2008 R2 and Windows Server 2012 (Full Desktop Installation only) may
also be used; however, use of Windows Server 2008 R2 or Windows Server 2012 is
discouraged, as planned enhancements to PI Web API will require functionality that is only
available in later versions of Windows.
Microsoft’s client operating systems, Windows 10 (64-bit only) may be used in a limited
capacity for development and testing purposes only. Please make sure that two entries
“RegisteredOwner” and “RegisteredOrganization” exist under the registry key
“HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows
NT\CurrentVersion”. If not, add those two entries with empty string values.
Earlier versions of Windows and non-x64 versions of Windows are not supported.
Server Platforms
PI Web API is installed via the PI AF Services distribution kit. See PI AF 2017 R2 (v2.9.5)
Release Notes for details on Distribution Kit Files.
Remove the product using Uninstall a program in the Windows Control Panel, or
alternatively, re-run the Installation Kit and follow the prompts to remove the product.
Uninstalling the product will not remove:
Any SSL certificates that were created during the installation process
The binding of the selected SSL certificate to the port used by PI Web
API in the Windows HTTP service’s configuration
The URL reservation for PI Web API in the Windows Kernel routing table
The locally stored indexes for Indexed Search functionality
The above items may be removed manually if desired.
On servers with multiple processors, you can improve performance and achieve higher
throughput in PI Web API by setting .NET common language runtime to Server garbage
collection.
Procedure
1. From the PI Web API installation folder, open the PI Web API configuration file,
OSIsoft.REST.Host.exe.config. Typically, the PI Web API installation folder is
C:\Program Files\PIPC\WebAPI.
2. Edit the runtime element to include the child element gcServer with the enabled attribute
set to true, as shown in the following example.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<gcServer enabled="true"/>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
…
3. Restart the PI Web API service:
a. Open the Services administrative tool in Windows.
b. From the Services list, right-click PI Web API, and click Restart.
OSIsoft’s Commitment
Because the PI System often serves as a barrier protecting control systems and mission-
critical infrastructure assets, OSIsoft is committed to (1) delivering a high-quality product
and (2) communicating clearly what security issues have been addressed. This release of
PI Web API is the highest-quality and most secure version of the PI Web API released to
date. OSIsoft’s commitment to improving the PI System is ongoing, and each future
version should raise the quality and security bar even further.
Vulnerability Communication
Vulnerability Scoring
OSIsoft has selected the Common Vulnerability Scoring System (CVSS) to quantify
the severity of security vulnerabilities for disclosure. To calculate the CVSS scores,
OSIsoft uses the National Vulnerability Database (NVD) calculator maintained by the
National Institute of Standards and Technology (NIST). OSIsoft uses High, Medium
and Low categories to aggregate the CVSS Base scores. This removes some of the
opinion related errors of CVSS scoring. As noted in the CVSS specification, Base
score range from 0 for the lowest severity to 10 for the highest severity.
For this release of the PI Web API, (1) security vulnerability has been identified and fixed.
Based on the CVSS scoring system this issue has been categorized as a Medium (4.0 –
6.9). This issue was self-identified as part of OSIsoft’s Security Development Lifecycle
(SDL) process. This medium-level security issue mitigates the possibility of a Cross-site
Scripting (XSS) attack.
Documentation Overview
These release notes comprise a part of the following documentation set that supports PI Web
API:
The PI Square community has resources to help you with your technical questions. PI
Developers Club program offers specific services to developers and system integrators.
PI Web API
© 2013-2017 by OSIsoft, LLC. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or
by any means, mechanical, photocopying, recording, or otherwise, without the prior written permission
of OSIsoft, LLC.
OSIsoft, the OSIsoft logo and logotype, Managed PI, OSIsoft Advanced Services, OSIsoft Cloud Services, OSIsoft Connected
Services, PI ACE, PI Advanced Computing Engine, PI AF SDK, PI API, PI Asset Framework, PI Audit Viewer, PI Builder, PI
Cloud Connect, PI Connectors, PI Data Archive, PI DataLink, PI DataLink Server, PI Developers Club, PI Integrator for
Business Analytics, PI Interfaces, PI JDBC Driver, PI Manual Logger, PI Notifications, PI ODBC, PI OLEDB Enterprise, PI OLEDB
Provider, PI OPC DA Server, PI OPC HDA Server, PI ProcessBook, PI SDK, PI Server, PI Square, PI System, PI System Access, PI
Vision, PI Visualization Suite, PI Web API, PI WebParts, PI Web Services, RLINK and RtReports are all trademarks of OSIsoft,
LLC.
All other trademarks or trade names used herein are the property of their respective owners.