Skip to content
Snippets Groups Projects
Commit 86cc0bed authored by Šimon Koleják's avatar Šimon Koleják
Browse files

Update README.md, sensors_api.md files

parent d81fd406
No related branches found
No related tags found
1 merge request!1Update README.md, sensors_api.md files
# api_documentation
Documentation for twin API.
\ No newline at end of file
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)
},
]
}
]`
`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)
},
]
}
]`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment