Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The message for sensor data is a JSON object that contains an array of objects. Each object has six properties:

Login

Sensor login field (used as a unique identifier in the batch data POST).

Timestamp

A Unix timestamp in milliseconds that represents the time when the data was collected.

Quantity

A string that represents the quantity of data collected.

: Sensor login field (used as a unique identifier in the batch data POST).

Timestamp: A Unix timestamp in milliseconds that represents the time when the data was collected.

Quantity: A string that represents the quantity of data collected.

Value: A string that represents the value of the data collected.

Unit: A string that represents the unit of measurement for the data collected.

DataType: A string that represents the type of data collected.

ValueOK: A boolean value that indicates whether or not the value of the data collected is valid. If not valid, the sensor will be highlighted in the 3D application.

Supported Data Types The following data types are supported by Twinzo's API:

...