Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
I have a device that is using the REST API to update its properties on the Thingworx. I would like to have a service call on the Thing instance to make the device reboot. Can the device poll the Thingworx platform for any pending reboot service request and reboot itself?
Thanks
Solved! Go to Solution.
This will really depend on what the device is capable off.
1. If the device has a reboot service that can be invoked, it could potentially be done that way. Sounds very unlikely in this scenario.
2. The device must have a 'pick up instructions' type routine that fires either upon start up (if going on and off line frequently) or on a schedule etc. It can call a REST service on the Thingworx platform which returns the instructions.
then there has to be logic to process those instructions.
This will really depend on what the device is capable off.
1. If the device has a reboot service that can be invoked, it could potentially be done that way. Sounds very unlikely in this scenario.
2. The device must have a 'pick up instructions' type routine that fires either upon start up (if going on and off line frequently) or on a schedule etc. It can call a REST service on the Thingworx platform which returns the instructions.
then there has to be logic to process those instructions.