If you would like to send information to Ubidots from a datalogger that takes samples over long periods of time, you can do so by managing the values and times registered.

curl -X POST 'https://industrial.api.ubidots.com/api/v1.6/devices/my-new-device'
-H "X-Auth-Token: BBFF-Rfcgaxns6HlVb155WA0RhSY85xNDmB" 
-H "Content-Type: application/json" 
-d '{
   "my-sensor":[
      {
         "value":27,
         "timestamp":1514808000000
      },
      {
         "value":30,
         "timestamp":1514808900000
      },
      {
         "value":31,
         "timestamp":1514809800000
      },
      {
         "value":29,
         "timestamp":1514810700000
      },
      {
         "value":27,
         "timestamp":1514768400000
      }
   ]
}'