Get Data for a Variable
POST/data/getData
Get historical data for a variable
Request
- application/json
Body
variable stringrequired
nodes string[]required
from integerrequired
to integerrequired
limit integer
order string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- ]
success boolean
error string
errorcode integer
variable string
count integer
data object
nodeid object[]
timestamp integer
value object required
Value is a float
number when datatype is float, geocoordinate
object when datatype of the variable is geo
oneOf
lat number
long number
number
{
"success": true,
"error": "string",
"errorcode": 0,
"variable": "string",
"count": 0,
"data": {
"nodeid": [
{
"timestamp": 0,
"value": {}
}
]
}
}
Loading...