YELLOWBRICK V3 Instrukcja Użytkownika Strona 9

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 18
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 17 18

Komentarze do niniejszej Instrukcji

Brak uwag