Sidebar
Datastream
Datastreams represent incoming or outgoing data points for a device in the digital customer platform, including their topic, type, and current value.Attributes
These are all attributes that can be read and updated through the API
| Name | Description | Permissions |
|---|---|---|
| name | The display name of the datastream. | READ AND UPDATE |
| type | The category or kind of datastream. | READ AND UPDATE |
| topic | The subject area or data topic associated with the datastream. | READ AND UPDATE |
| id_slug | A URL-friendly unique identifier for the datastream. | READ AND UPDATE |
Get historian data
GEThttps://digital.fmw.co.at/connect/v1/data/[ID]Load historian data by ID. If no parameters are set, the last value is returned. The fields must be sent as x-www-form-urlencoded parameter.
| Parameter | Description | Example |
|---|---|---|
| from | Optional The timestamp when the data shall be returned from | 2025-01-20T00:00:00.000Z |
| to | Optional The timestamp when the data shall be returned to | 2025-01-21T00:00:00.000Z |
| groupby | Optional This parameter can be used define the aggregation of the data. If not set the aggregation will be set automatically. Valid values are: 1m (minutes), 1h (hours), 1d (days) | 20m |
Get Datastream by ID
GEThttps://digital.fmw.co.at/connect/v1/resources/datastream/[ID]Returns a specific Datastream by ID.
Relations
It is possible to get related objects from Datastreams.
GEThttps://digital.fmw.co.at/connect/v1/resources/datastream/[ID]/[RELATION]This table shows all available resources that can be queried
| Relation | Objecttype | Relationtype | |
|---|---|---|---|
| asset | Asset | 1:1 | Show details |
Update Datastream
POSThttps://digital.fmw.co.at/connect/v1/resources/datastream/[ID]Update fields of Datastream by ID. The fields must be sent as x-www-form-urlencoded parameter.
Create Datastream
PUThttps://digital.fmw.co.at/connect/v1/resources/datastreamCreate a new Datastream.
Delete Datastream
DELETEhttps://digital.fmw.co.at/connect/v1/resources/datastream/[ID]Delete the resource Datastream by ID.
This action can not be reverted!
