Creates new device notification.

Request

HTTP Request

POST /device/{deviceId}/notification

Parameters

Parameter NameRequiredTypeDescription
deviceIdYesstringDevice unique identifier.

Authorization

Access JSON Web Token (CreateDeviceNotification)

Request Body

In the request body, supply a DeviceNotification resource.

Property NameRequiredTypeDescription
notificationYesstringNotification name
timestampNodatetimeNotification timestamp (UTC)
parametersNoobjectNotification parameters, a JSON object with an arbitrary structure.

Response

If successful, this method returns a DeviceNotification resource in the response body.

Property NameTypeDescription
idintegerNotification identifier.
timestampdatetimeNotification UTC datetime (yyyy-MM-dd'T'HH:mm:ss.SSS ISO 8601).