Superfy Platform API Documentation


Get Specific of Notification Content API

Require Authentication

This API is used to get specific of notification content for user based on combination of deviceID and token. This can be used to display notification content sent to all sources (web, email, SMS, or mobile)


URL

api/notifications/detail/:notificationrecipientsendingID

Required parameter (in URL)

Note: :notificationrecipientsendingID is the same as messageID

Required parameter (POST)

Optional parameter

Example JSON Payload

{
	"deviceID": "ABCD-EFGH-IJKL-MNOP",
	"token": "bb602ab13b8090268cd6e3bb9dfa39e2"
}

Possible return HTTP status code

Return message

{
  "status": "success",
  "message": {
    "notificationrecipientsendingID": 44,
    "content": "You received SmartSensor alert based on your configuration. [1 bin]",
    "isRead": "N",
    "readDate": 0,
    "acknowledge": "N",
    "createdDate": 1465934171,
    "notificationconfigID": 4,
    "notificationName": "no emergency",
    "notificationType": "alert",
    "emergency": "N",
    "alertSensorTriggerSecond": 3600
  }
}