VMware Workspace ONE Community
cm1190
Enthusiast
Enthusiast

REST API bulk message? POST /devices/messages/bulkpush

Has anybody ever tried this?

POST /devices/messages/bulkpush

I do not know, what parameters are needed? What does this "text value" mean?

POST /devices/messages/bulkpush

{

  "MessageBody": "Hello",

  "Application": "AirWatch",

  "MessageType": "AirWatch",

  "BulkValues": {

    "Value": [

      "Text value"

    ]

  }

}

Labels (1)
0 Kudos
1 Reply
cm1190
Enthusiast
Enthusiast

Ok, now I've got it.

For every Value you'll have to add line with "Bulkvalues".

E.g. if searching for UDID then it looks like this:

{

  "MessageBody": "Test push message",

  "Application": "intelligentHub",

  "MessageType": "Apns",

  "BulkValues": {

    "Value": [ "UDID" ]

  },

    "BulkValues": {

    "Value": [ "UDID" ]

  }

}

0 Kudos