According to the picture above, you can set up to two different server URL’s to which the device will make the request. You can then create a Function which will receive the JSON sent from the device and parse the data accordingly so its data will be posted as a device on Ubidots.
Since I don’t have an idea of how the JSON looks like, I can’t currently give you a more detailed explanation on how to decode the incoming data on Ubidots’ side. However, I’d advise you to configure the device so it sends its data to a Function in JSON format, then you can check the Logs for that function in order to get a more detailed idea of the incoming JSON object. Like that, It would be a lot easier to write the decoder function.
Please reach back to us if you have any other question.