Posted On: May 9, 2022
AWS IoT SiteWise now supports batch data retrieval from multiple asset properties with the launch of three new APIs that allow you to retrieve current values (BatchGetAssetPropertyValue), historical values (BatchGetAssetPropertyValueHistory), and aggregated values (BatchGetAssetPropertyAggregates) from AWS IoT SiteWise in a single API request.
The new APIs will help developers when creating industrial applications that need to retrieve data from multiple sensors. To use the new BatchGet APIs, you will need to include in your API request a list of asset property entries with parameters of the data to be retrieved, such as assetID, propertyID, time range, and aggregate type. The APIs will then return data points from all the asset properties that meet your specified API parameters.
Customers can use the BatchGet APIs for a number of use cases including retrieving property data for hundreds of asset in order to create dashboards showing historical trends from multiple machines in a single screen, exporting data from multiple sensors to be used in analytics applications, or retrieving the latest values from all sensors of the same machine in a single API request.
For more information on the API parameters and the request and response syntax, see the reference pages for BatchGetAssetPropertyValueHistory, BatchGetAssetPropertyValue, and BatchGetAssetPropertyAggregates.
AWS IoT SiteWise is a managed service that enables customers to collect, store, organize and monitor data from industrial equipment at scale. To learn more, please visit the AWS IoT SiteWise website or the developer guide.