YELLOWBRICK V3 Manuel d'utilisateur Page 9

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 18
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 8
MT (Mobile Terminated) Messages
To send a message to a device, you need to call /SendMessage
"
Note: this must be an HTTP POST. "GET won't work.
"
An example:
"
$ curl -d "username=xxx&password=yyy&message=Hello%20World&ackRequest=yes" \
"http://secure.rock7mobile.com/API2/SendMessage/2322"
"
<?xml version="1.0" encoding="UTF-8"?>
<SendMessage><receipt messageId="2110" /></SendMessage>
"
So the POST parameters are message=blah"(obvious)"and ackRequest=yes/no which would cause the device to prompt the user to acknowledge receipt/reading.
"
If successful, you'll see the <receipt /> element containing the unique ID for this MT message. "This will match the messageAck parameter discussed above when the
device user acknowledges.
Vue de la page 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 17 18

Commentaires sur ces manuels

Pas de commentaire