Building Mobile Enterprise Applications : webMethods Mobile Administrator API Reference : REST Requests in Alphabetical Order : POST /api/v1/apps/<product_id>/push/send
POST /api/v1/apps/<product_id>/push/send
Sends a push notification to a single device if any of the following parameters is given: registrationId, pushTokenHex or mpns_uri. If the push_group_name parameter is set, it sends the push notification to all push devices that belong to the given push group.
Input Parameters
product_id
String The application identifier.
registrationId
String Android GCM registration ID.
pushTokenHex
String iOS deviceToken in Hex format.
mpns_uri
String Microsoft Push Notification Service URI endpoint.
push_group_name
String Optional. The name of the PushDeviceGroup resource, see PushDeviceGroup
badge
Integer Optional. iOS only. Sets the badge number on the app icon.
message
String Optional. The push notification message.
sound
String Optional. iOS only. Plays a sound when the push notification is received. Set the parameter to default to play the default sound.
apns_mode
String Optional. Specifies the APNS environment to use when sending iOS push notifications. The default is production. Specify development to use the development environment.
extra_params
Object Optional. Contains any additional parameters which should be sent with the push notification.
Output Parameters
Document PushNotification resource, see PushNotification
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback