Stop Notifications

When monitoring of a resource is no longer required, IMPACT IoT sends a JSON object to stop monitoring. The content is sent as a POST /devices.

Table 1. Stop notifications API format
Parameters Description
URL http://<adapter_hostname>:<port>/devices
Method POST
Content-Type application/json

The parameters are:

  • resource - Specifies the Device resource.
  • string - Specifies the resource value, which is STOP_OBSERVE for this API.
  • endPointClientNames - Specifies the Device Id.
Sample Call

Response Body:

"msg": "Success","code":1000
Success Code
Response Code: 200
Error Code
400 : Bad Request
401 : Unauthorized 
403 : Forbidden 
404 : Not Found