notification/get

Gets information about the notification.

Authorization

Access JSON Web Token (GetDeviceNotification)

Request Topic and Payload

Topic

dh/request

Payload Representation

{
    "action": {string},
    "requestId": {object},
    "deviceId": {string},
    "notificationId": {long}
}

Payload Parameters

Property NameRequiredTypeDescription
actionYesstringAction name: notification/get
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
deviceIdYesstringDevice unique identifier.
notificationIdYeslongNotification unique identifier.

Response Topic and Payload

Topic

dh/response/notification/get@{clientId}

Payload Representation

{
    "action": {string},
    "status": {string},
    "requestId": {object},
    "notification": {
        "id": {long},
        "notification": {string},
        "timestamp": {datetime},
        "deviceId": {string},
        "networkId": {integer},
        "parameters": {object}
    }
}

Payload Parameters

Property NameTypeDescription
actionstringAction name: notification/get
statusstringOperation execution status (success or error).
requestIdobjectRequest unique identifier as specified in the request message.
notificationobjectAn inserted DeviceNotification resource.
notification.idlongNotification identifier.
notification.notificationstringNotification name.
notification.timestampdatetimeNotification UTC datetime (yyyy-MM-dd'T'HH:mm:ss.SSS ISO 8601).
notification.deviceIdstringAssociated device identifier.
notification.networkIdintegerAssociated network identifier.
notification.parametersobjectNotification parameters, a JSON object with an arbitrary structure.