Skip to content

PushNotificationRegister

Register a device with SAP Mobile Services to allow push notifications to be sent to the device.

The properties defined in Action are also applicable to this action.

PushNotificationRegister Properties

Property Type Required
_Type const Required

_Type

  • type: const

The value of this property must be equal to:

"Action.Type.PushNotificationRegister"

Action Result

The ActionResult of this action is null for demo mode or the push registration token for production mode.


Examples

{
    "_Type": "Action.Type.PushNotificationRegister",
    "OnSuccess" : "/MDKApp/Actions/PushNotification/PushNotificationRegisterSuccessMessage.action",
    "OnFailure": "/MDKApp/Actions/PushNotification/PushNotificationRegisterFailureMessage.action"
}