Data Notifications
This is used for the purpose of sending data notifications generated due to a previous data observation call issued by the Adapter.
The following table provides details on the API and the different string formats; numeric
value, string or an array of values, that can be provided. If the value for the token
notify2
is an array of JSON objects, then the Adapter can take
advantage to package events from multiple Devices in the same POST message.
The JSON object is a triplet, “device/0/endPointClientName”, “resource”,”value”
Parameters | Description |
---|---|
URL | http://<impact_hostname>:<port>/m2m/device |
Method | POST |
Content-Type | application/json |
Parameters |
The parameters are:
|
Sample Call |
Response Body:
|
Success Code |
Response Code: 200 |
Error Code |
400 : Bad Request 401 : Unauthorized 403 : Forbidden 404 : Not Found |