Data formart to forward

Data format

To forward devices data, two standard Databoom formats are mainly used:

  • Forwarding signals with their values. All the values reference to the same date, if it is not specified, the current date is used.

    {

    "device": "DEVICE TOKEN",
    "date": "DATE",
    "signals" : [
     "name": "SIGNAL TOKEN",
     "value": SIGNAL VALUE
       ] 
    }
  • Forwarding signals with their values history. Each value has a specific date.
    {
    "device": "DEVICE TOKEN",
    "signals" : {
     "SIGNAL TOKEN": {
       "description": "SIGNAL DESCRIPTION"
       "history": [{
         "date": "VALUE DATE"
         "value": SIGNAL VALUE
       },
       ...
       ] 
     },
     ...
    }
    }

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.