JSONP

Parent Previous Next

GET /

http://www.mobikey.eu/messages/report/{DEVICE}/pwd/{PASSWORD}/jsonp/{K}

{DEVICE}

{PASSWORD}

{K}

code identifying the remote device

password assigned to remote device

callback (required for JSONP response format)


EXAMPLE :


http://www.mobikey.eu/messages/report/F7GYgh/pwd/0000/jsonp/email


RESPONSE STATUS : 200 OK


RESPONSE DATA :


email({

       "msg": {

               "id": "459",

               "time": "05/07/2014 17:22:01 CEST",

               "type": "email",

               "Recipient": "info@contrive.mobi",

               "Subject": "High water level",

               "Event": "52"

       },

       "msg": {

               "id": "458",

               "time": "05/07/2014 17:19:44 CEST",

               "type": "email status",

               "Recipient": "info@contrive.mobi",

               "Subject": "Pressure switch",

               "Event": "11"

       }

});

JSONP is returned without line breaks, to keep the data traffic as small as possible