createMessage syntax for phonegap application

Comments

1 comment

  • Avatar
    Dmitry Dyudeev

    Hello,

    Please note that there is no "createMessage" method in our current SDK. You should send a request to our servers manually.

    As for the request itself, it actually contains a couple of misprints:

    1. "Notifications" is an array of JSON objects, so there should be two pairs of brackets there:

      "notifications": [{ 
      ...
      }]
      
    2. "Send_date" is a required section of the request.

Please sign in to leave a comment.