How to push notification through WISE-IoTSuite/Notification API

  1. Create a notification group and copy the GroupID (groupId)

  2. Call SSO API to get User Token

{
  "username": "foo@advantech.com.tw",
  "password": "12345678"
}
  1. Use User Token and group ID (groupId) to call Notification API
  • API URL: [POST] https://portal-notification-{namespace}-{cluster}.{datacenter}.wise-paas.com/api/v1.5/groups/send
  • Request Body:
[{
    "groupId": "i6t2LAIwKrRf",
    "useTemplate": false,
    "message": "for demo"
}]
  1. Receive message
    image