Ubidots Community

Edit Timestamp of a dot

Hi there,

How can I edit the timestamp of a dot?

Thanks,

Hello, @adrian.hinostroza.

Unfortunately, there is no way of editing the timestamp of a dot, instead, you would have to send the dot again, specifying the timestamp in milliseconds in the JSON, and delete the initial dot to avoid having the same value at different times. An example of a POST request that sends a value with timestamp will look like this:

POST --> https://industrial.api.ubidots.com/api/v1.6/devices/{DEVICE_LABEL}

JSON
{“variable-label”: VALUE, “timestamp”:TIMESTAMP IN MILLISECONDS}

All the best,

-Sebastian

Hi,

Thanks for reply.

How can I send timestamp by using a browser URL?