Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section consists of the following:

...

Get request for a single datapoint:

GET   /iap/devs/*+name==Sensor1/if/LightSensor/0/nvoLuxLevel/value

Response

[
    {

      "id":449092,
      "local":"2019-07-18 16:25:43.265 PDT",
      "utc":"2019-07-18 23:25:43.265 UTC",
      "deviceId":"17q2d7k.2",
      "deviceName":"Sensor1",
      "blockName":"LightSensor",
      "blockIndex":"0",
      "datapointName":"nvoLuxLevel",
      "deviceState":"provisioned",
      "deviceHealth":"normal",
      "dpQualifier":"2/LightSensor/0/nvoLuxLevel",
      "value":43
     }
]  


Get request for multiple datapoints for a single Web page (using tag.value):

GET    /iap/devs/*/if/*/*/*+tag==xyzzjd_floor1&tag.value==1/value?pg=1&sz=30  


Get request for multiple datapoints for a single Web page (using qualifier):

GET   /iap/devs/*/if/*/*/*+qualifier=-17q3awh/lon/F5/Lamp/0/nviValue,17q3awh/lon/5/Lamp/F1/nvoValueFb/value?max_age=0&noxs=true

Note: Special characters, depending where they are located in the request, may need to be encoded before sending the request to the SmartServer. 

...