Skip to main content

Get Data for a Variable

POST 

/data/getData

Get historical data for a variable

Request

Body

    variable stringrequired
    nodes string[]required
    from integerrequired
    to integerrequired
    limit integer
    order string

Responses

OK

Schema
    success boolean
    error string
    errorcode integer
    variable string
    count integer
    data object
    nodeid object[]
  • Array [
  • 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
  • ]
Loading...