Data Service REST API Example - Asset Hierarchy Sample App

Content Type: Sample
Categories: Internet-of-Things,Data

Overview

IIH Essentials (Data Service) connects the plant with the app. All data collected from Shopfloor is transmitted to IIH Essentials (Data Service) and can be stored there in a structured manner. The different connectors (e.g. S7 Connector in Industrial Edge or Open Pipe in the Unified Comfort Panel) can serve as data source.

IIH Essentials (Data Service) represents a centrally usable element for structuring and storing data that can be used by other Edge apps via the API interface so that they do not have to implement their own data management. Functions such as aggregations, data management and structuring are available. Each node in the structure is designated as an asset and helps structure the machines into different areas. Based on the structure, it is easier to make specific data available for all higher-level apps, such as Performance Insight, or other, even user-developed apps.

Data Service REST Example shows the capability that Mendix developers can get data from Data Service interface, it obtains the information such as Asset Model, historical data through REST API exposed by Data Service.

For IIH Essentials support, please refer to IIH Essentials (Data Service) for Industrial Edge.

For more examples, please refer to Industrial Edge.

Documentation

Description

IIH Essentials (Data Service) connects the plant with the app. All data collected from Shopfloor is transmitted to Data Service and can be stored there in a structured manner. The different connectors (e.g. S7 Connector in Industrial Edge or Open Pipe in the Unified Comfort Panel) can serve as data source.

IIH Essentials (Data Service) represents a centrally usable element for structuring and storing data that can be used by other Edge apps via the API interface so that they do not have to implement their own data management. Functions such as aggregations, data management and structuring are available. Each node in the structure is designated as an asset and helps structure the machines into different areas. Based on the structure, it is easier to make specific data available for all higher-level apps, such as Performance Insight, or other, even user-developed apps.

Data Service REST Example shows the capability that Mendix developers can get data from Data Service interface, it obtains the information such as Asset Model, historical data through REST API exposed by Data Service.

Typical usage scenario

Created a reusable module in this example to show Asset Hierarchy Model and historical data from Data Service REST API.

User can follow this example to create an app from requirement and obtain the data from shopfloor by Data Service.

Features and limitations

Obtain Asset Model and historical data from Data Service REST API.

Configure Data Service address on the configuration page when example app starts up.

Dependencies

Installation

Download from Mendix Marketplace and directly use it as your example app.

Releases

Version: 1.0.0
Framework Version: 9.15.1
Release Notes: Created the domain model and mapping based on Data Service REST API and created microflows to obtain real-time data from Data Service. Created Asset Hierarchy and Time series Chart to support Asset Model and historical data from Data Service.