insert
Creates new device notification.
Request
HTTP Request
POST /device/{deviceId}/notification
Parameters
Parameter Name | Required | Type | Description |
---|---|---|---|
deviceId | Yes | string | Device unique identifier. |
Authorization
Access JSON Web Token (CreateDeviceNotification)
Request Body
In the request body, supply a DeviceNotification resource.
Property Name | Required | Type | Description |
---|---|---|---|
notification | Yes | string | Notification name |
timestamp | No | datetime | Notification timestamp (UTC) |
parameters | No | object | Notification parameters, a JSON object with an arbitrary structure. |
Response
If successful, this method returns a DeviceNotification resource in the response body.
Property Name | Type | Description |
---|---|---|
id | integer | Notification identifier. |
timestamp | datetime | Notification UTC datetime (yyyy-MM-dd'T'HH:mm:ss.SSS ISO 8601). |
Updated about 7 years ago