Superfy Platform API Documentation


Set Global Sensor Settings API

Require Authentication

This API is used to set global sensor settings to all sensors registered by the company based on combination of deviceID and token. The settings will applied to all sensors without exception.


URL

api/sensors/setglobalsettings

Required parameter (POST)

Optional parameter

Example JSON Payload

{
  "deviceID": "ABCD-EFGH-IJKL-MNOP",
  "token": "c43fa596e7916827106b591e2bb026cd",
  "heartbeatFrequency": 3600
}

Possible return HTTP status code

Return message

{
  "status": "success",
  "message": {
    "heartbeatFrequency": 3600,
    "lastUpdate": 1464283980
  }
}