YELLOWBRICK V3 Manual de usuario Pagina 9

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 18
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 17 18

Comentarios a estos manuales

Sin comentarios