Skip to content
Snippets Groups Projects

Sensor Data API

Introduction

Variables are defined as ${variable_name}

Set HTTP Header

  Client: ${your-client-guid} 
  Token:  ${your-token} 

Method and URL

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

Request body

[ 
 { 
  "l":  ${sensor-login}, // login 
  "data":[
    { 
      "n": "Temperature", // name of the quantity 
      "v": "10", // value
      "u": "°C", // unit
      "d": "Int32" // data type
    }
   ]
 },
] 

Available data types :

  • Boolean
  • Byte
  • SByte
  • Char
  • Decimal
  • Double
  • Single
  • Int32
  • UInt32
  • Int64
  • UInt64
  • Int16
  • UInt16