DeviceNotification
Represents a device notification, a unit of information dispatched from devices.
Methods
Method | Authorization | Uri | Description |
---|---|---|---|
Access JSON Web Token (GetDeviceNotification) | GET /device/{deviceId}/notification | Queries device notifications. | |
Access JSON Web Token (GetDeviceNotification) | GET /device/{deviceId}/notification/{id} | Gets information about device notification. | |
Access JSON Web Token (CreateDeviceNotification) | POST /device/{deviceId}/notification | Creates new device notification. | |
Access JSON Web Token (GetDeviceNotification) | GET /device/{deviceId}/notification/poll | Polls new device notifications. | |
Access JSON Web Token (GetDeviceNotification) | GET /device/notification/poll | Polls new device notifications. |
Resource Representation
{
"id": {integer},
"notification": {string},
"deviceId": {string},
"networkId": {integer},
"deviceTypeId": {integer},
"timestamp": {datetime},
"parameters": {object}
}
Property Name | Type | Description |
---|---|---|
id | integer | Notification identifier. |
notification | string | Notification name. |
deviceId | string | Device unique identifier. |
networkId | integer | Network unique identifier. |
deviceTypeId | integer | Device type unique identifier. |
timestamp | datetime | Notification UTC datetime (yyyy-MM-dd'T'HH:mm:ss.SSS ISO 8601). |
parameters | object | Notification parameters, a JSON object with an arbitrary structure. |
Updated over 4 years ago