Pokes Format

Pokes are event containing specific information from a third-party application connected to the data stream (PUSH Notification service) of the account. Generally, these messages are used to provide useful information to the customers.

id
~ Required integer - 64 bits unique track identifier.

id_str
~ Required string - String version of the identifier (for languages not supporting 64 bits integers).

sender
~ Required string - The sender is the unique identifier of the application injecting the Poke in the data stream to others subscribers. Example: Device Manager.

namespace
~ Required string - The namespace should be used to identify the sub-services of the application.

asset
~ Required string - IMEI of the device.

b64_payload
~ Required string - The message payload encoded in Base64 format.

received_at
~ Required string - When the event was received by CloudConnect (timestamp in RFC 3339 format: YYYY-MM-DDTHH:MM:SSZ).

[{
     "meta": {
         "account": "municio",
         "event": "poke"
     },

     "payload": {
       "id": 355379030532292631,
       "id_str": "355379030532292631",
       "asset": "3DF8960333V0886",
       "sender": "Device Manager",
       "namespace": "campaign::status",
       "received_at": "2015-02-07T15:49:23Z",
       "b64_payload": "U2VuZCByZWluZm9yY2VtZW50cw==\n"
     }
}]