Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
How to communicate to the ThingWorx composer server form Java App using REST Services. Could any one provide REST API documentation.
Unfortunately as far as I have been able to find out the Java Docs for the ThingWorx Java API isn't public yet.
Please go to support / Wiki and to the REST API section to learn more about the Thingworx REST API.
Hi,
We have gone through the Blog and understand that Thingworx service can be retrieved via rest api using the url in the following format [http://localhost:8080/Thingworx/Things/ThingName/ServiceDefinitions/S | http://localhost:1977/Thingworx/Things/VMThing/ServiceDefinitions/GetAllVMDetails]erviceName?Accept=text/xml but this just returns the service definition. Please let us know how to get the return value in the form of xml/json so that a third party api can access the same.
use the above to get the result in an xml form
[http://localhost:8080/Thingworx/Things/ThingName/Service | http://localhost:1977/Thingworx/Things/VMThing/ServiceDefinitions/GetAllVMDetails]s alone will not work, it gives some invalid error that is why we have gave [http://localhost:8080/Thingworx/Things/ThingName/Service | http://localhost:1977/Thingworx/Things/VMThing/ServiceDefinitions/GetAllVMDetails]Definitions
Hi,