PushNotificationRegister¶
Register a device with SAP Mobile Services to allow push notifications to be sent to the device.
All the properties defined under Action are applicable to this action.
PushNotificationRegister Properties¶
Property | Type | Required |
---|---|---|
_Type | const |
Yes |
_Type¶
- type:
const
The value of this property must be:
"Action.Type.PushNotificationRegister"
Action Result¶
Refer to the MDK Guide to understand what an action result is.
The success ActionResult of this action is null
for demo mode or a push registration token for production mode. The failure ActionResult is an error message.
Examples¶
{
"_Type": "Action.Type.PushNotificationRegister",
"OnSuccess": "/MDKApp/Actions/PushNotification/PushNotificationRegisterSuccessMessage.action",
"OnFailure": "/MDKApp/Actions/PushNotification/PushNotificationRegisterFailureMessage.action"
}