Skip to content
Snippets Groups Projects
README.md 529 B
Newer Older
Šimon Koleják's avatar
Šimon Koleják committed
# api_documentation

Documentation for twin API.

`Sensor Data

Set HTTP Header
Client: {your-client-guid}
Token: {your-token}

POST: https://twin.rtls.solutions/api/sensors?api-version=2.0

Body:

[
  {
    "l":    "sensor-login",  // login
    "data": [
      {
        "n":    "Temperature",	// name of the quantity
        "v":    "10", // value
		"u":	"°C" // unit
        "d":    "Int32"  // datatype (Boolean, Byte, SByte, Char, Decimal, Double, Single, Int32, UInt32, Int64, UInt64, Int16, UInt16)
      },
    ]
  }
]`