Skip to content

MindConnect Async API – Samples

The code given below is just a .json representations of the Timeseries format.

Topic Structure

MQTT Broker offers below described topics:

tc/{tenantId}/{clientId}/o/mc_v3/ts

Ingest timeseries data

Timeseries Message:

Message contains an array of samplings. Each sampling consists of a timestamp and an array of value objects. Each value object consists of data point id, value and quality code.

{
  "timeseries": [
    {
      "timestamp": "2020-08-01T00:15:10.100Z",
      "values": [
        {
          "dataPointId": "rotationPerMinute",
          "value": "600",
          "qualityCode": "0"
        },
        {
          "dataPointId": "temperature",
          "value": "1.3",
          "qualityCode": "-1"
        },
        {
          "dataPointId": "gearPosition",
          "value": "1",
          "qualityCode": "0"
        },
        {
          "dataPointId": "curve",
          "value": "381,2776,6586,9362,11268,12139,12247,12574,12846",
          "qualityCode": "0"
        }
      ]
    }
  ]
}

Last update: March 5, 2024

Except where otherwise noted, content on this site is licensed under the Development License Agreement.