+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Send Message (POST)

Sends message with different options.


Roles

Users in the following roles are authorized to perform this operation:


Method

POST


Path

/management-apis/2.0/runtimes/runtime-name/notifications/applications/application-name/messages


Example


Path Parameters


Query Parameters

Query parameters are optional.


Consumes

application/json, application/xml, text/xml


Produces

application/json, application/xml, text/xml


Payload


JSON Example


XML Example


Payload Properties

The payload has the following properties:

The alert messages has the following properties:

The message settings has the following properties:

The apns settings has the following properties:

The gcm settings has the following properties:

The wns settings has the following properties:

The badge has the following properties:

The raw has the following properties:

The tile has the following properties:

The visual has the following properties:

The toast has the following properties:

The audio has the following properties:

The target settings has the following properties:


Errors

400

403

404

500

Parent topic: REST API for the MobileFirst Server administration service