
Push messages informs users that an action should be taken by delivering a short message that appears as a notification on the device.
http://<host:port>/restnotification/application_connection_Id
For SAP Mobile Platform Server available on a network that uses proxy, ensure that the proxy settings are set for the SAP Mobile Platform Server under Settings > System > HTTP Proxy Settings. It allows SAP Mobile Platform Server to access GCM and APNS servers.
If you already have proxy settings set and SAP Mobile Platform Server is not available on a network that uses a proxy, the proxy settings should either be removed or the host for the GCM or APNS server should be added to the non-proxy hosts field.
Both GCM and APNS require open ports that may be blocked on some corporate networks or routers.
Ensure to configure the application using Management cockpit and provide the necessary details on endpoints, authentication and push settings. For more information, see Configuring the Application in Management Cockpit.
Under Authentication Providers, add System Login (Admin Only) authentication provider.
Set the values for Username, Password, for example smpPushUser and smpPushPwd and the Notification User in Roles.
Enter the same user name and password later, when you send a notification to the device using the Advanced Rest Client or Postman Rest Client from Chrome Web Store, Google.
In HANA Cloud Platform mobile Services, unauthenticated user is referred as public rather than nosec_identity as it would be in case of on-premise version of the server.
You can use any REST tool, such as “Advanced Rest Client” or “Postman”, available from the Google Chrome Web store.
The restnotification API sends native push notifications to the applications. This RESTful service provides more flexibility for sending push messages than existing interfaces that are based on HTTP headers or URL parameters. Earlier push interfaces required that you send messages to a registration ID. The restnotification interface also sends the message to a specific user or to all users of a specific application.
The restnotification API sends messages to multiple recipients. The messages are queued in the server and sent out asynchronously.
http[s]://<host:port>/restnotification/<resource>
https://<HMC base URL>/restnotification/<resource>